Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Ansible Framework Container
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ansible
Playbooks
Ansible Framework Container
Commits
28fbe8bc
Commit
28fbe8bc
authored
9 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#6
: Install additional components and cleanup
parent
8832d86f
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+1
-0
1 addition, 0 deletions
README.md
setup_local.yml
+18
-12
18 additions, 12 deletions
setup_local.yml
with
19 additions
and
12 deletions
README.md
+
1
−
0
View file @
28fbe8bc
...
...
@@ -30,6 +30,7 @@ sudo apt-get install python-setuptools
sudo easy_install -U pip
sudo pip install requests
sudo pip install boto
sudo pip install six
```
## Configuration
...
...
This diff is collapsed.
Click to expand it.
setup_local.yml
+
18
−
12
View file @
28fbe8bc
...
...
@@ -17,6 +17,24 @@
-
"
jiffybox"
-
"
serverdensity"
tasks
:
-
name
:
"
Install
OS
components"
sudo
:
yes
apt
:
pkg={{item}} state=installed update_cache=yes
with_items
:
-
python-setuptools
-
easy_install
-
name
:
"
Install
PIP"
sudo
:
yes
easy_install
:
name={{item}}
with_items
:
-
pip
-
name
:
"
Install
Python
Components"
sudo
:
yes
pip
:
name={{item}} state=present
with_items
:
-
requests
-
boto
-
six
-
name
:
"
Get
other
repositories"
git
:
accept_hostkey
:
yes
...
...
@@ -30,18 +48,6 @@
-
repo
:
"
{{
repo
}}:ansible-inventories/{{
company
}}.git"
dest
:
"
./inventory"
force
:
no
-
name
:
"
Ensure
plugins
directory"
file
:
dest="/usr/share/ansible_plugins/action_plugins"
state="directory"
sudo
:
yes
-
name
:
"
Install
plugins"
file
:
src="{{ lookup('env','PWD') }}/plugins/{{ item }}/action_plugins/{{ item }}.py"
dest="/usr/share/ansible_plugins/action_plugins/{{ item }}.py"
state="link"
sudo
:
yes
with_items
:
"
{{
plugins
}}"
-
name
:
"
Configure
ansible"
ini_file
:
dest
:
"
~/.ansible.cfg"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment