|
@@ -1,12 +1,12 @@ |
|
|
--- |
|
|
--- |
|
|
- hosts: all |
|
|
- hosts: all |
|
|
sudo: yes |
|
|
|
|
|
vars: |
|
|
vars: |
|
|
packages: [rsync, git, htop] |
|
|
packages: [rsync, git, htop] |
|
|
tasks: |
|
|
tasks: |
|
|
- name: install packages |
|
|
- name: install packages |
|
|
action: pacman pkg={{ item }} state=installed |
|
|
action: pacman pkg={{ item }} state=installed |
|
|
with_items: packages |
|
|
with_items: packages |
|
|
|
|
|
sudo: yes |
|
|
when: ansible_os_family == "Archlinux" |
|
|
when: ansible_os_family == "Archlinux" |
|
|
# handlers: |
|
|
# handlers: |
|
|
# - name: restart ntpd |
|
|
# - name: restart ntpd |
|
|