Changes

Jump to: navigation, search

OPS435 Python3 Lab 9

55 bytes added, 14:28, 25 November 2019
Part 3: Sample runs for using some Ansible's built-in modules
= Reference =
:* For more detail information about ansible, check out the ansible web site at [https://www.ansible.com. www.ansible.com]
:* [https://www.ansible.com/overview/how-ansible-works Overviewon how ansible works]
:* [https://docs.ansible.com/ansible/latest/user_guide/index.html Ansible Latest User Guide]
:* [https://learning-oreilly-com.libaccess.senecacollege.ca/api/v1/dashboard/continue/9781786464231/ Learning Ansible - Second Editionvia Seneca Library]
:* [https://www.redhat.com/en/blog/system-administrators-guide-getting-started-ansible-fast A System Administrator's guide to getting started with Ansible]
== Part 3: Sample runs for using some Ansible's built-in modules ==
: "yum" is a built-in ansible module. You can get a complete list of all the ansible modules installed on you system with the following command:<source lang="bash"> ansisbleansible-doc --list_files
</source>
: "yum" is a built-in ansible module. You can also get the detail information about any ansible module with the following command:<source lang="bash"> ansible-doc module_name  e.g. ansible_doc yum
</source>
: The following command demonstrates how to install the "epel-release" package with the "yum" module with different module arguments and under different remote user (your result may be differ from what is show below):
</pre>
= Investigation III: Using Playbook to config a configure an OPS435 Linux VM machine =: You Assume you have just installed the latest version of CentOS 7.x on a VM with GNOME Desktop. You need to configure it so that you can use it for doing the Labs for OPS435. The following configuration tasks need to be done on that VM:
:* update all the packages installed on the VM
:* install extra packages repository for enterprise Linux
</source>
:* create a playbook named "config_ops435.yml" to perform the tasks mentioned above.
:* test your playbook and capture its output when it complete without errorfor a successful run of your playbook to a file named "lab9_[seneca_id].txt"
= Lab 9 Sign-off (Show Instructor) =
== Have the following items ready to show your instructor: ==
: * The Ansible playbook called "config_ops435.ymlyaml" for configuring the VM mentioned in Lab 1.: * The result of running the playbook "config_ops435.ymlyaml". Save the result in a file called "lab9_[seneca_id].txt" 
== Upload the following files to blackboard ==
: * config_ops435.ymlyaml
: * lab9_[seneca_id].txt
1,760
edits

Navigation menu