{"id":34487,"date":"2023-01-18T09:53:44","date_gmt":"2023-01-18T07:53:44","guid":{"rendered":"https:\/\/itedu.center\/ua\/blog\/?p=34487"},"modified":"2024-04-29T15:16:49","modified_gmt":"2024-04-29T12:16:49","slug":"30-ansible-modules-for-senior-devops-engineers-part-3","status":"publish","type":"post","link":"https:\/\/itedu.center\/ua\/blog\/guides\/30-ansible-modules-for-senior-devops-engineers-part-3\/","title":{"rendered":"Ansible: 30 \u043c\u043e\u0434\u0443\u043b\u0456\u0432 \u0434\u043b\u044f Senior DevOps \u0456\u043d\u0436\u0435\u043d\u0435\u0440\u0456\u0432 (\u0427\u0430\u0441\u0442\u0438\u043d\u0430 3)"},"content":{"rendered":"\n<p>\u0414\u043e \u0442\u043e\u0433\u043e, \u0449\u043e\u0431 \u0441\u0442\u0432\u043e\u0440\u044e\u0432\u0430\u0442\u0438 \u041f\u0417 \u043c\u0430\u0439\u0431\u0443\u0442\u043d\u044c\u043e\u0433\u043e \u0437\u0430\u043b\u0438\u0448\u0438\u043b\u043e\u0441\u044f \u0432\u0441\u044c\u043e\u0433\u043e 7 \u043c\u043e\u0434\u0443\u043b\u0456\u0432 Ansible. \u0417\u043d\u0430\u044e\u0447\u0438 \u0432\u0441\u0456 30, \u0432\u0438 \u0437\u043c\u043e\u0436\u0435\u0442\u0435 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0443\u0432\u0430\u0442\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043d\u0456 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0438, \u0430 \u0441\u0430\u043c\u0435 \u2014&nbsp; \u0457\u0445\u043d\u0454 \u0434\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u044f, \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0443 \u0442\u0430 \u0440\u043e\u0437\u0433\u043e\u0440\u0442\u0430\u043d\u043d\u044f \u0437\u0430\u0441\u0442\u043e\u0441\u0443\u043d\u043a\u0456\u0432.&nbsp;<\/p>\n\n\n\n<p>\u0426\u0435 \u2014 <a href=\"https:\/\/faun.pub\/ansible-30-most-important-modules-for-devops-professional-part-3-6494507184bb\" data-wpel-link=\"external\" rel=\"nofollow\">\u0437\u0430\u0432\u0435\u0440\u0448\u0430\u043b\u044c\u043d\u0438\u0439 \u043c\u0430\u0442\u0435\u0440\u0456\u0430\u043b \u0446\u0456\u0454\u0457 \u0441\u0435\u0440\u0456\u0457<\/a>. \u041c\u0438 \u0432\u0436\u0435 \u043f\u0435\u0440\u0435\u043a\u043b\u0430\u043b\u0438 \u0442\u0430 \u0440\u043e\u0437\u0433\u043b\u044f\u043d\u0443\u043b\u0438 \u0431\u0456\u043b\u044c\u0448\u0456\u0441\u0442\u044c \u043c\u043e\u0434\u0443\u043b\u0456\u0432 \u0443 \u043f\u043e\u043f\u0435\u0440\u0435\u0434\u043d\u0456\u0445 \u043c\u0430\u0442\u0435\u0440\u0456\u0430\u043b\u0430\u0445: <a href=\"https:\/\/itedu.center\/ua\/blog\/guides\/30-ansible-modules-for-senior-devops-engineers-part-1\/\" data-wpel-link=\"internal\">\u0442\u0443\u0442<\/a> \u0456 <a href=\"https:\/\/itedu.center\/ua\/blog\/guides\/30-ansible-modules-for-senior-devops-engineers-part-2\/\" data-wpel-link=\"internal\">\u0442\u0443\u0442<\/a>. \u0422\u043e\u0436 \u043d\u0430\u0433\u0430\u0434\u0430\u0439\u0442\u0435 \u0441\u043e\u0431\u0456, \u044f\u043a\u0449\u043e \u0442\u0440\u0435\u0431\u0430, \u0430\u0431\u043e \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0439\u0442\u0435, \u044f\u043a\u0449\u043e \u043f\u0440\u043e\u043f\u0443\u0441\u0442\u0438\u043b\u0438.<\/p>\n\n\n\n<p>\u0412 \u0446\u0456\u0439 \u0447\u0430\u0441\u0442\u0438\u043d\u0456 \u0440\u043e\u0437\u0433\u043b\u044f\u043d\u0435\u043c\u043e \u0442\u0456, \u0449\u043e \u0441\u043b\u0456\u0434 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u0434\u043b\u044f:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u043e\u0431\u0440\u043e\u0431\u043a\u0438 \u0441\u0435\u0440\u0432\u0456\u0441\u0443,<\/li>\n\n\n\n<li>\u043a\u0435\u0440\u0443\u0432\u0430\u043d\u043d\u044f \u043a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430\u043c\u0438 \u0442\u0430 \u0433\u0440\u0443\u043f\u0430\u043c\u0438,<\/li>\n\n\n\n<li>\u0443\u043f\u0440\u0430\u0432\u043b\u0456\u043d\u043d\u044f cron,<\/li>\n\n\n\n<li>\u0434\u0440\u0443\u043a\u0443 \u043f\u043e\u0432\u0456\u0434\u043e\u043c\u043b\u0435\u043d\u044c \u043f\u0456\u0434 \u0447\u0430\u0441 \u0432\u0438\u043a\u043e\u043d\u0430\u043d\u043d\u044f \u043f\u043b\u0435\u0439\u0431\u0443\u043a\u0443,<\/li>\n\n\n\n<li>\u0434\u043b\u044f \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044f \u0437\u043c\u0456\u043d\u043d\u0438\u0445 \u0456 \u0440\u043e\u043b\u0435\u0439.\u00a0<\/li>\n<\/ul>\n\n\n\n<p>\u041f\u043e\u0457\u0445\u0430\u043b\u0438!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">service<\/h2>\n\n\n\n<p>\u0426\u0435\u0439 \u043c\u043e\u0434\u0443\u043b\u044c \u0434\u043e\u0437\u0432\u043e\u043b\u044f\u0454 \u043a\u0435\u0440\u0443\u0432\u0430\u0442\u0438 \u0441\u0435\u0440\u0432\u0456\u0441\u043e\u043c \u043d\u0430 \u0446\u0456\u043b\u044c\u043e\u0432\u0438\u0445 \u0432\u0443\u0437\u043b\u0430\u0445. \u0412\u0438 \u043c\u043e\u0436\u0435\u0442\u0435 \u0439\u043e\u0433\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u0438, \u0437\u0443\u043f\u0438\u043d\u044f\u0442\u0438, \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u0438 \u0442\u0430 \u043f\u0435\u0440\u0435\u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0443\u0432\u0430\u0442\u0438. \u0414\u043b\u044f \u043c\u0430\u0448\u0438\u043d\u0438 \u043d\u0430 Windows, \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u0439\u0442\u0435 \u043c\u043e\u0434\u0443\u043b\u044c win_service.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>---\n- name: service module\n  hosts: all\n  tasks:\n  - name: Start service httpd, if not started\n    service:\n      name: httpd\n      state: started\n\n  - name: Stop service httpd, if started\n    service:\n      name: httpd\n      state: stopped\n\n  - name: Restart service httpd, in all cases\n    service:\n      name: httpd\n      state: restarted\n\n  - name: Reload service httpd, in all cases\n    service:\n      name: httpd\n      state: reloaded\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">user<\/h2>\n\n\n\n<p>\u041c\u043e\u0434\u0443\u043b\u044c \u0434\u043b\u044f \u043a\u0435\u0440\u0443\u0432\u0430\u043d\u043d\u044f \u043a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430\u043c\u0438 \u043d\u0430 \u0432\u0443\u0437\u043b\u0430\u0445. \u0412\u0456\u043d \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0454 useradd, \u044f\u043a\u0449\u043e \u043a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430 \u043f\u043e\u0442\u0440\u0456\u0431\u043d\u043e \u0441\u0442\u0432\u043e\u0440\u0438\u0442\u0438, usermod, \u0449\u043e\u0431 \u0437\u043c\u0456\u043d\u0438\u0442\u0438 \u0442\u0430 userdel, \u0449\u043e\u0431 \u0432\u0438\u0434\u0430\u043b\u0438\u0442\u0438. \u0412\u0438 \u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u0438\u0437\u043d\u0430\u0447\u0438\u0442\u0438 id, \u0433\u0440\u0443\u043f\u0443, \u043e\u0431\u043e\u043b\u043e\u043d\u043a\u0443, \u043f\u0430\u0440\u043e\u043b\u044c \u0442\u0430 \u0456\u043d\u0448\u0435. \u0414\u043b\u044f Windows \u0442\u0430\u043a\u0456 \u0444\u0443\u043d\u043a\u0446\u0456\u0457 \u0432\u0438\u043a\u043e\u043d\u0443\u0454 \u043c\u043e\u0434\u0443\u043b\u044c win_user.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>---\n- name: user module\n  hosts: all\n  tasks:\n  - name: Add the user 'johnd' with a specific uid and group of 'admin'\n    user:\n      name: johnd\n      comment: John Doe\n      uid: 1040\n      group: admin\n\n  - name: Add the user 'james' with a bash shell, appending the group 'admins' and 'developers' to the user's groups\n    user:\n      name: james\n      shell: \/bin\/bash\n      groups: admins,developers\n      append: yes\n\n  - name: Remove the user 'johnd'\n    user:\n      name: johnd\n      state: absent\n      remove: yes\n\n  - name: Create a 2048-bit SSH key for user jsmith in ~jsmith\/.ssh\/id_rsa\n    user:\n      name: jsmith\n      generate_ssh_key: yes\n      ssh_key_bits: 2048\n      ssh_key_file: .ssh\/id_rsa\n\n  - name: Added a consultant whose account you want to expire\n    user:\n     name: james18\n     shell: \/bin\/zsh\n     groups: developers\n     expires: 1422403387\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">group<\/h2>\n\n\n\n<p>Group \u043f\u0456\u0434\u0456\u0439\u0434\u0435 \u0434\u043b\u044f \u043a\u0435\u0440\u0443\u0432\u0430\u043d\u043d\u044f \u0433\u0440\u0443\u043f\u0430\u043c\u0438 \u043d\u0430 \u0446\u0456\u043b\u044c\u043e\u0432\u0438\u0445 \u043d\u043e\u0434\u0430\u0445. \u041f\u0440\u0430\u0446\u044e\u0454 \u043f\u043e\u0434\u0456\u0431\u043d\u043e \u0434\u043e user: \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0454 groupadd \u0434\u043b\u044f \u0441\u0442\u0432\u043e\u0440\u0435\u043d\u043d\u044f, groupmod \u0434\u043b\u044f \u0437\u043c\u0456\u043d\u0438 \u0442\u0430 groupdel \u0434\u043b\u044f \u0432\u0438\u0434\u0430\u043b\u0435\u043d\u043d\u044f \u0433\u0440\u0443\u043f. \u0414\u043b\u044f Windows \u2014 win_group.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>---\n- name: group module\n  hosts: all\n  tasks:\n  - name: Ensure group \"somegroup\" exists\n    group:\n      name: somegroup\n      state: present\n\n  - name: Ensure group \"docker\" exists with correct gid\n    group:\n      name: docker\n      state: present\n      gid: 1750\n  - name: deleting a group\n    group:\n      name: groupA\n      state: absent\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">cron<\/h2>\n\n\n\n<p>\u0412\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u044e\u0442\u044c, \u0449\u043e\u0431 \u043a\u0435\u0440\u0443\u0432\u0430\u0442\u0438 \u0437\u0430\u043f\u0438\u0441\u0430\u043c\u0438 crontab \u0442\u0430 \u0432\u0438\u0437\u043d\u0430\u0447\u0430\u0442\u0438 \u0437\u043c\u0456\u043d\u043d\u0456 \u0441\u0435\u0440\u0435\u0434\u043e\u0432\u0438\u0449\u0430.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>---\n- name: cron module\n  hosts: all\n  tasks:\n  - name: Ensure a job that runs at 2 and 5 exists. Creates an entry like \"0 5,2 * * sh script.sh\"\n    cron:\n      name: \"check dirs\"\n      minute: \"0\"\n      hour: \"5,2\"\n      job: \"sh script.sh\"\n  - name: 'Delete a job from the crontab'\n    cron:\n      name: \"an old job\"\n      state: absent\n  - name: Creates an entry like \"APP_HOME=\/srv\/app\" and insert it after PATH declaration\n    cron:\n      name: APP_HOME\n      env: yes\n      job: \/srv\/app\n      insertafter: PATH\n<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"941\" height=\"533\" src=\"https:\/\/itedu.center\/ua\/blog\/wp-content\/uploads\/2023\/01\/\u2568\u255d\u2568\u255b\u2568\u2524\u2564a\u2568\u2557\u2564u-2.png\" alt=\"\" class=\"wp-image-34493\" srcset=\"https:\/\/itedu.center\/ua\/blog\/wp-content\/uploads\/2023\/01\/\u2568\u255d\u2568\u255b\u2568\u2524\u2564a\u2568\u2557\u2564u-2.png 941w, https:\/\/itedu.center\/ua\/blog\/wp-content\/uploads\/2023\/01\/\u2568\u255d\u2568\u255b\u2568\u2524\u2564a\u2568\u2557\u2564u-2-300x170.png 300w, https:\/\/itedu.center\/ua\/blog\/wp-content\/uploads\/2023\/01\/\u2568\u255d\u2568\u255b\u2568\u2524\u2564a\u2568\u2557\u2564u-2-768x435.png 768w\" sizes=\"auto, (max-width: 941px) 100vw, 941px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">debug<\/h2>\n\n\n\n<p>\u0426\u0435\u0439 \u043c\u043e\u0434\u0443\u043b\u044c \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u044e\u0442\u044c \u0434\u043b\u044f \u0434\u0440\u0443\u043a\u0443 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0430 \u043f\u0456\u0434 \u0447\u0430\u0441 \u0432\u0438\u043a\u043e\u043d\u0430\u043d\u043d\u044f \u043f\u043b\u0435\u0439\u0431\u0443\u043a\u0443. \u0412\u0456\u043d \u043c\u043e\u0436\u0435 \u0441\u0442\u0430\u0442\u0438 \u0432 \u043f\u0440\u0438\u0433\u043e\u0434\u0456 \u0434\u043b\u044f \u043d\u0430\u043b\u0430\u0433\u043e\u0434\u0436\u0435\u043d\u043d\u044f \u0437\u043c\u0456\u043d\u043d\u0438\u0445 \u0430\u0431\u043e \u0432\u0438\u0440\u0430\u0437\u0456\u0432. \u0414\u043e\u0434\u0430\u0439\u0442\u0435 \u0430\u0442\u0440\u0438\u0431\u0443\u0442 msg \u0434\u043b\u044f \u0432\u0456\u0434\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u043d\u044f \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u043e\u0433\u043e \u043f\u043e\u0432\u0456\u0434\u043e\u043c\u043b\u0435\u043d\u043d\u044f \u0442\u0430 var \u0434\u043b\u044f \u0432\u0456\u0434\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u043d\u044f \u0437\u043c\u0456\u043d\u043d\u043e\u0457.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>---\n- name: debug module\n  hosts: all\n  tasks:\n  - name: Print a simple statement\n      debug:\n      msg: \"Hello World! A custom message\"\n  - name: Get uptime information\n    shell: \/usr\/bin\/uptime\n    register: result\n\n  - name: Print return information from the previous task\n    debug:\n      var: result\n      verbosity: 2\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">include_vars<\/h2>\n\n\n\n<p>\u041c\u043e\u0434\u0443\u043b\u044c include_vars \u043c\u043e\u0436\u043d\u0430 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438, \u0449\u043e\u0431 \u0434\u0438\u043d\u0430\u043c\u0456\u0447\u043d\u043e \u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0443\u0432\u0430\u0442\u0438 \u0437\u043c\u0456\u043d\u043d\u0443 \u0437 \u0444\u0430\u0439\u043b\u0443 \u0430\u0431\u043e \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0443 \u043f\u0456\u0434 \u0447\u0430\u0441 \u0432\u0438\u043a\u043e\u043d\u0430\u043d\u043d\u044f \u0437\u0430\u0432\u0434\u0430\u043d\u043d\u044f. \u041c\u043e\u0434\u0443\u043b\u044c \u043d\u0435 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0438\u0441\u0443\u0454 \u0436\u043e\u0434\u043d\u0438\u0445 \u0437\u043c\u0456\u043d\u043d\u0438\u0445 \u0432\u043a\u0430\u0437\u0430\u043d\u0438\u0445 \u0437\u0430 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u043e\u044e set_fact.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>---\n- name: include_vars module\n  hosts: all\n  tasks:\n  - name: include a variable file\n    include_vars: \n      file: name_vars.yml\n  - name: include a variable file conditionally\n    include_vars: \n      file: vars-Debian.yml\n    when: ansible_os_family == 'Debian'\n  - name: Include all .yaml files in vars directory except bastion.yaml\n    include_vars:\n      dir: vars\n      ignore_files:\n        - 'bastion.yaml'\n      extensions:\n        - 'yaml'\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">include_role<\/h2>\n\n\n\n<p>\u0426\u0435\u0439 \u043c\u043e\u0434\u0443\u043b\u044c \u0434\u0438\u043d\u0430\u043c\u0456\u0447\u043d\u043e \u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0443\u0454 \u0442\u0430 \u0432\u0438\u043a\u043e\u043d\u0443\u0454 \u0432\u043a\u0430\u0437\u0430\u043d\u0443 \u0440\u043e\u043b\u044c \u044f\u043a \u0437\u0430\u0432\u0434\u0430\u043d\u043d\u044f:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>---\n- name: include_roles module\n  hosts: all\n  tasks:\n  - name: include role myrole\n    include_role:\n      name: myrole\n  - name: Run tasks\/other.yaml instead of main.yaml\n    include_role:\n      name: myrole\n      tasks_from: other\n  - name: Pass variables to role\n    include_role:\n      name: myrole\n    vars:\n      rolevar1: value from task\n  - name: Conditional role\n    include_role:\n      name: myrole\n    when: not idontwanttorun\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u0412\u0438\u0441\u043d\u043e\u0432\u043e\u043a<\/h2>\n\n\n\n<p>\u0422\u0435\u043f\u0435\u0440 \u0432\u0438 \u0437\u043d\u0430\u0454\u0442\u0435 30 \u043c\u043e\u0434\u0443\u043b\u0456\u0432 Ansible, \u044f\u043a\u0456 \u0434\u043e\u043f\u043e\u043c\u043e\u0436\u0443\u0442\u044c \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0443\u0432\u0430\u0442\u0438 \u0440\u0456\u0437\u043d\u0456 \u0437\u0430\u0432\u0434\u0430\u043d\u043d\u044f. \u0423\u043f\u0440\u0430\u0432\u043b\u044f\u0439\u0442\u0435 \u043a\u043e\u043d\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u0454\u044e, \u043e\u0440\u043a\u0435\u0441\u0442\u0440\u0443\u0439\u0442\u0435, \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u0456\u0437\u043e\u0432\u0430\u043d\u043e \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u044e\u0439\u0442\u0435 \u0437\u0430\u0441\u0442\u043e\u0441\u0443\u043d\u043a\u0438 \u0442\u0430 \u043e\u0434\u043d\u043e\u0447\u0430\u0441\u043d\u043e \u0432\u0438\u043a\u043e\u043d\u0443\u0439\u0442\u0435 \u0442\u0438\u043f\u043e\u0432\u0456 \u0437\u0430\u0432\u0434\u0430\u043d\u043d\u044f \u043d\u0430 \u0433\u0440\u0443\u043f\u0456 \u0441\u0438\u0441\u0442\u0435\u043c. \u0406 \u0431\u0443\u0434\u0435 \u0432\u0430\u043c \u0449\u0430\u0441\u0442\u044f \u0443 DevOps!<br>\u0410 \u0449\u043e\u0431 \u0437\u0430\u043a\u0440\u0456\u043f\u0438\u0442\u0438 \u043c\u0430\u0442\u0435\u0440\u0456\u0430\u043b \u0442\u0430 \u0432\u0456\u0434\u043a\u0440\u0438\u0442\u0438 \u0449\u0435 \u0431\u0456\u043b\u044c\u0448\u0435 \u043c\u043e\u0436\u043b\u0438\u0432\u043e\u0441\u0442\u0435\u0439 \u0446\u044c\u043e\u0433\u043e \u041f\u0417 \u2014 \u0440\u0430\u0434\u0438\u043c\u043e \u043d\u0430\u0448 \u043a\u0443\u0440\u0441 \u00ab<a href=\"https:\/\/itedu.center\/ua\/courses\/administruvannia-ta-avtomatyzaciia-za-dopomogoyu-ansible\/\" title=\"\" data-wpel-link=\"internal\">\u0410\u0434\u043c\u0456\u043d\u0456\u0441\u0442\u0440\u0443\u0432\u0430\u043d\u043d\u044f \u0442\u0430 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0456\u044f \u0437\u0430 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u043e\u044e Ansible<\/a>\u00bb. \u0417\u0440\u043e\u0431\u0456\u0442\u044c \u043d\u0430\u0432\u0438\u0447\u043a\u0438 \u0440\u043e\u0431\u043e\u0442\u0438 \u0437 \u0446\u0438\u043c \u0456\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u043c \u0441\u0432\u043e\u0454\u044e \u043f\u0435\u0440\u0435\u0432\u0430\u0433\u043e\u044e.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0414\u043e \u0442\u043e\u0433\u043e, \u0449\u043e\u0431 \u0441\u0442\u0432\u043e\u0440\u044e\u0432\u0430\u0442\u0438 \u041f\u0417 \u043c\u0430\u0439\u0431\u0443\u0442\u043d\u044c\u043e\u0433\u043e \u0437\u0430\u043b\u0438\u0448\u0438\u043b\u043e\u0441\u044f \u0432\u0441\u044c\u043e\u0433\u043e 7 \u043c\u043e\u0434\u0443\u043b\u0456\u0432 Ansible. \u0417\u043d\u0430\u044e\u0447\u0438 \u0432\u0441\u0456 30, \u0432\u0438 \u0437\u043c\u043e\u0436\u0435\u0442\u0435 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0443\u0432\u0430\u0442\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043d\u0456 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0438, \u0430 \u0441\u0430\u043c\u0435 \u2014&nbsp; \u0457\u0445\u043d\u0454 \u0434\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u044f, \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0443 \u0442\u0430 \u0440\u043e\u0437\u0433\u043e\u0440\u0442\u0430\u043d\u043d\u044f \u0437\u0430\u0441\u0442\u043e\u0441\u0443\u043d\u043a\u0456\u0432.&nbsp; \u0426\u0435 \u2014 \u0437\u0430\u0432\u0435\u0440\u0448\u0430\u043b\u044c\u043d\u0438\u0439 \u043c\u0430\u0442\u0435\u0440\u0456\u0430\u043b \u0446\u0456\u0454\u0457 \u0441\u0435\u0440\u0456\u0457. \u041c\u0438 \u0432\u0436\u0435 \u043f\u0435\u0440\u0435\u043a\u043b\u0430\u043b\u0438 \u0442\u0430 \u0440\u043e\u0437\u0433\u043b\u044f\u043d\u0443\u043b\u0438 \u0431\u0456\u043b\u044c\u0448\u0456\u0441\u0442\u044c \u043c\u043e\u0434\u0443\u043b\u0456\u0432 \u0443 \u043f\u043e\u043f\u0435\u0440\u0435\u0434\u043d\u0456\u0445 \u043c\u0430\u0442\u0435\u0440\u0456\u0430\u043b\u0430\u0445: \u0442\u0443\u0442 \u0456 \u0442\u0443\u0442. \u0422\u043e\u0436 \u043d\u0430\u0433\u0430\u0434\u0430\u0439\u0442\u0435 \u0441\u043e\u0431\u0456, \u044f\u043a\u0449\u043e \u0442\u0440\u0435\u0431\u0430, \u0430\u0431\u043e \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0439\u0442\u0435, \u044f\u043a\u0449\u043e \u043f\u0440\u043e\u043f\u0443\u0441\u0442\u0438\u043b\u0438. \u0412 \u0446\u0456\u0439 \u0447\u0430\u0441\u0442\u0438\u043d\u0456 \u0440\u043e\u0437\u0433\u043b\u044f\u043d\u0435\u043c\u043e&hellip;<\/p>\n","protected":false},"author":4,"featured_media":34490,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[352],"tags":[256,532],"class_list":["post-34487","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-guides","tag-ansible","tag-automation"],"translation":{"provider":"WPGlobus","version":"3.0.2","language":"uk","enabled_languages":["uk"],"languages":{"uk":{"title":true,"content":true,"excerpt":false}}},"acf":[],"aioseo_notices":[],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/itedu.center\/ua\/blog\/wp-json\/wp\/v2\/posts\/34487","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itedu.center\/ua\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itedu.center\/ua\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itedu.center\/ua\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/itedu.center\/ua\/blog\/wp-json\/wp\/v2\/comments?post=34487"}],"version-history":[{"count":5,"href":"https:\/\/itedu.center\/ua\/blog\/wp-json\/wp\/v2\/posts\/34487\/revisions"}],"predecessor-version":[{"id":36086,"href":"https:\/\/itedu.center\/ua\/blog\/wp-json\/wp\/v2\/posts\/34487\/revisions\/36086"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/itedu.center\/ua\/blog\/wp-json\/wp\/v2\/media\/34490"}],"wp:attachment":[{"href":"https:\/\/itedu.center\/ua\/blog\/wp-json\/wp\/v2\/media?parent=34487"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itedu.center\/ua\/blog\/wp-json\/wp\/v2\/categories?post=34487"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itedu.center\/ua\/blog\/wp-json\/wp\/v2\/tags?post=34487"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}