Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ansible
Commits
23ff967f
Commit
23ff967f
authored
May 01, 2012
by
Stephen Fromm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Copy inventory file to client
parent
672794f5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
examples/playbooks/ansible_pull.yml
+3
-0
No files found.
examples/playbooks/ansible_pull.yml
View file @
23ff967f
...
@@ -15,5 +15,8 @@
...
@@ -15,5 +15,8 @@
action
:
yum pkg=ansible state=installed
action
:
yum pkg=ansible state=installed
-
name
:
Create local directory to work from
-
name
:
Create local directory to work from
action
:
file path=$workdir state=directory owner=root group=root mode=0751
action
:
file path=$workdir state=directory owner=root group=root mode=0751
-
name
:
Copy ansible inventory file to client
action
:
copy src=/etc/ansible/hosts dest=/etc/ansible/hosts
owner=root group=root mode=0644
-
name
:
Create crontab entry to clone/pull git repository
-
name
:
Create crontab entry to clone/pull git repository
action
:
template src=templates/ansible-pull.j2 dest=/etc/cron.d/ansible-pull owner=root group=root mode=0644
action
:
template src=templates/ansible-pull.j2 dest=/etc/cron.d/ansible-pull owner=root group=root mode=0644
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment