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
add ansible dir
pull/1/head
10sr
10 years ago
parent
637184f0ed
commit
3752ccf0ba
3 changed files
with
16 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+12
-0
ansible/ansible.yml
+1
-0
ansible/hosts
+3
-0
ansible/run.sh
+ 12
- 0
ansible/ansible.yml
View File
@@ -0,0 +1,12 @@
---
- hosts: all
sudo: yes
tasks:
- name: Install packages
action: pacman pkg={{ item }} state=installed
with_items:
- rsync
- git
# handlers:
# - name: restart ntpd
# action: service name=ntpd state=restarted
+ 1
- 0
ansible/hosts
View File
@@ -0,0 +1 @@
127.0.0.1 ansible_connection=local ansible_python_interpreter=/usr/bin/python2 package_manager=pacman
+ 3
- 0
ansible/run.sh
View File
@@ -0,0 +1,3 @@
#!/bin/sh
ansible-playbook -i hosts ansible.yml --ask-sudo-pass
Write
Preview
Loading…
Cancel
Save