Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Techexchange updates #19

Open
wants to merge 4 commits into
base: techexchange
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lab1_ansible_install.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -102,5 +102,5 @@ sudo yum -y install ansible git
.Let's verify that the packages are install by executing the following:

----
sudo rpm -qi ansible; sudo rpm -qi git
sudo yum list installed ansible git
----
4 changes: 2 additions & 2 deletions lab2_running_ansible.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ by your instructor.

.Switch to root
----
$ sudo su -
$ sudo -i
----

.Create the working directory
Expand Down Expand Up @@ -268,7 +268,7 @@ file using the following command:
$ ansible --version

ansible 2.5.5
config file = /home/root/openstack-ansible/ansible.cfg
config file = /root/openstack-ansible/ansible.cfg
configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python2.7/site-packages/ansible
executable location = /bin/ansible
Expand Down
22 changes: 21 additions & 1 deletion lab3_intro_to_playbooks.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ First, create the initial portion of our playbook that defines the name, target,
shell: pip install --upgrade pip
----

Next, install the required packages such as gcc, python-devel, libselinux-python, and shade.
Next, install the required packages such as gcc, python-devel, libselinux-python, and the OpenStack Ansible modules.

[source,]
----
Expand All @@ -167,9 +167,29 @@ Next, install the required packages such as gcc, python-devel, libselinux-python
- gcc
- python-devel
- libselinux-python
- python-virtualenv
- ansible-openstack-modules
- openssl-devel
- libffi-devel

----

Finally, use pip to install setuptools and shade.

[source,]
----
- name: make sure setuptools is latest
pip:
name: setuptools
state: latest

- name: install shade
pip:
name: shade
version: 1.27.1
extra_args: "-Iv"
----

Everything together should look like the following (_prepare-for-lab.yml_):

[source,]
Expand Down