Browse Source

AWX: Set VM hostname

master
William Petit 1 month ago
parent
commit
bc55a87175
1 changed files with 4 additions and 1 deletions
  1. 4
    1
      recipes/awx/6.0/playbook.yml

+ 4
- 1
recipes/awx/6.0/playbook.yml View File

@@ -21,7 +21,6 @@
21 21
         refspec: 6.0.0
22 22
       delegate_to: 127.0.0.1
23 23
 
24
-
25 24
     - name: Install Docker
26 25
       package:
27 26
         name: docker
@@ -94,3 +93,7 @@
94 93
           export https_proxy="{{ lookup('env', 'https_proxy') }}"
95 94
           export HTTP_PROXY="{{ lookup('env', 'HTTP_PROXY') }}"
96 95
           export HTTPS_PROXY="{{ lookup('env', 'HTTPS_PROXY') }}"
96
+    
97
+    - name: Set hostname
98
+      hostname:
99
+        name: ansible-awx

Loading…
Cancel
Save