Tag: Ansible

  • Ansible Interactive Input Prompts

    Ansible Interactive Input Prompts

    Ansible Interactive Input Prompts Related Links vars_prompt vars_prompt Related Ansible Vault Basics Configure Windows to be Managed via Ansible /etc/ssh/sshd_config Essentials Specify an SSH key for git push for a given Domain How to Enable SSH on Ubuntu Working With SSH Keys SSH Tunneling Essentials IP Tables Essentials Create Basic Self Hosted Remote Git Repo…

  • Configure Windows to be Managed via Ansible

    Configure Windows to be Managed via Ansible

    Configure Windows to be Managed via Ansible as a client Client Server Sample Run Book Syntax Related Links Run On Windows Ansible Client Machine https://github.com/ansible/ansible/blob/devel/examples/scripts/ConfigureRemotingForAnsible.ps1 Run On Linux Ansible Management Server Configure Group Var Sample Run Book Syntax Related Ansible Vault Basics Run Ansible through a remote server to other servers Ansible Essentials Links https://docs.ansible.com/ansible/2.7/user_guide/windows.html…

  • Ansible Vault Basics

    Ansible Vault Basics

    Ansible Vault Basics Recommended: useno_log: trueIn the playbook to prevent sensitive information from appearing in verbose output and logs. Encryption with Ansible Vault ONLY protects ‘data at rest’. Once the content is decrypted (‘data in use’) it is no longer encrypted. Encrypt File Edit Encrypted File View Encrypted File Decrypt File Encrypt String Decrypt String…

  • Run Ansible through a remote server to other servers

    Run Ansible through a remote server to other servers

    Run Ansible through a remote server to other servers Problem Scenario Solution Inventory File Sample Ansible Ad-Hoc Command Sample Ansible PlayBook Sample Ansible PlayBook Command Related Links Problem Scenario The VPN connection/service is down for a remote server. Therefore you are unable to use Ansible to restart the service.However there is another node on the…

  • Ansible Essentials

    Ansible Essentials

    Ansible Essentials Install Inventory Config File Test Connectivity Running ad-hoc Commands Ad Hoc Examples Services Playbook Tags Limiting Scope Encryption Ansible Vault Output to File Related Links Install Reading package lists… Done Building dependency tree Reading state information… Done The following NEW packages will be installed: ansible python3-argcomplete python3-crypto python3-dnspython python3-jinja2 python3-kerberos python3-libcloud python3-netaddr python3-ntlm-auth…