WEIGEL FORUM
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Login

    Ansible basic CLI commands

    Automation
    1
    1
    12
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • DerMeldosD
      DerMeldos
      last edited by DerMeldos

      Using a playbook:

      ansible-playbook test.yml
      

      playbook with vaulted credentials:

      ansible-playbook test.yml -e @group_vars/debian.yml --ask-vault-pass
      

      Creating a Vault:

      ansible-vault create group_vars/debian.yml
      

      Editing a Vault:

      ansible_vault edit group_vars/debian.yml
      

      Ad-hoc Commands:
      08cf7dfd-7f70-4e61-ad84-19113f45e708-image.png

      Example with Vault credentials:
      47d083c8-e2e6-4932-8805-c3e3dfd04226-image.png

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Powered by NodeBB | Contributors