Changes

Jump to: navigation, search

OPS435 Python3 Lab 9

4 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):
= 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