Advertisement
Guest User

Untitled

a guest
Aug 9th, 2023
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.50 KB | None | 0 0
  1. root@dev-usc1-ost-b-dp1:/opt/openstack-ansible/playbooks# cat test.yml
  2. - name: install ubuntu cloud keyring
  3. hosts: shared-infra_hosts
  4. tasks:
  5. - name:
  6. apt:
  7. pkg: ubuntu-cloud-keyring
  8. state: present
  9.  
  10.  
  11. root@dev-usc1-ost-b-dp1:/opt/openstack-ansible/playbooks# openstack-ansible test.yml
  12. Variable files: "-e @/etc/openstack_deploy/user_secrets.yml -e @/etc/openstack_deploy/user_variables.yml "
  13. [WARNING]: Unable to parse /etc/openstack_deploy/inventory.ini as an inventory source
  14.  
  15. PLAY [install ubuntu cloud keyring] *******************************************************************************************
  16.  
  17. TASK [apt] ********************************************************************************************************************
  18. ok: [inf5]
  19. ok: [inf6]
  20. ok: [inf4]
  21.  
  22. PLAY RECAP ********************************************************************************************************************
  23. inf4 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
  24. inf5 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
  25. inf6 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
  26.  
  27.  
  28.  
  29. EXIT NOTICE [Playbook execution success] **************************************
  30. ===============================================================================
  31. root@dev-usc1-ost-b-dp1:/opt/openstack-ansible/playbooks#
  32.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement