You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ansible.yml 309 B

10 jaren geleden
10 jaren geleden
10 jaren geleden
10 jaren geleden
10 jaren geleden
12345678910111213
  1. ---
  2. - hosts: all
  3. sudo: yes
  4. vars:
  5. packages: [rsync, git]
  6. tasks:
  7. - name: Install packages
  8. action: pacman pkg={{ item }} state=installed
  9. with_items: packages
  10. when: ansible_os_family == "Archlinux"
  11. # handlers:
  12. # - name: restart ntpd
  13. # action: service name=ntpd state=restarted