Difference between revisions of "Ansible"

From rbachwiki
Jump to navigation Jump to search
(Created page with "* Download and install Miniconda: curl -OL https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh bash Miniconda3-latest-Linux-x86_64.sh **You will be prompted several times during the installation process. Review the terms and conditions and select “yes” for each prompt. *Restart your shell session for the changes to your PATH to take effect. exec bash -l *Create a new virtual environment for Ansible: conda create -n ansible-dev python=3 *Acti...")
 
 
(44 intermediate revisions by the same user not shown)
Line 1: Line 1:
* Download and install Miniconda:
=[[Ansible Setup]]=
curl -OL https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
bash Miniconda3-latest-Linux-x86_64.sh


**You will be prompted several times during the installation process. Review the terms and conditions and select “yes” for each prompt.
=[[Ansible General Commands]]=
*Restart your shell session for the changes to your PATH to take effect.
=[[Ansible File Commands]]=
=[[Ansible User Commands]]=
=[[Ansible Ad-Hoc Commands]]=
=[[Ansible Roles]]=
'''Roles simplifies long playbooks by grouping tasks into smaller playbooks'''
=[[Ansible Roles by Application]]=
=[[Ansible Tags]]=
=[[Ansible Variables]]=
* Using Variables
* Get input from user (prompt)
=[[Ansible Handlers]]=
=[[Ansible Conditions]]=
=[[Ansible Vault]]=
=[[Ansible Management Tools]]=


exec bash -l
=[[Ansible Documentation]]=
 
*Create a new virtual environment for Ansible:
 
conda create -n ansible-dev python=3
*Activate the new environment:
 
conda activate ansible-dev
 
*Check your Python version:
 
python --version

Latest revision as of 14:47, 28 July 2022