Sfoglia il codice sorgente

ansible: use sudo only for installing packages

pull/1/head
10sr 10 anni fa
parent
commit
901177dfc8
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      ansible/ansible.yml

+ 1
- 1
ansible/ansible.yml Vedi File

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


Caricamento…
Annulla
Salva