Explorar el Código

ansible: use sudo only for installing packages

pull/1/head
10sr hace 10 años
padre
commit
901177dfc8
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      ansible/ansible.yml

+ 1
- 1
ansible/ansible.yml Ver fichero

@@ -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


Cargando…
Cancelar
Guardar