This website works better with JavaScript.
Home
Explore
Help
Sign In
10sr
/
dotfiles-mirror
mirror of
https://github.com/10sr/dotfiles.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
ansible: use sudo only for installing packages
pull/1/head
10sr
10 years ago
parent
5556a51262
commit
901177dfc8
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
ansible/ansible.yml
+ 1
- 1
ansible/ansible.yml
View 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
Write
Preview
Loading…
Cancel
Save