rename file and add dependencies
This commit is contained in:
		| @@ -1,4 +1,3 @@ | ||||
| --- | ||||
| - name: Initial generic setup | ||||
|   hosts: gitrunner | ||||
|   become: yes | ||||
| @@ -8,6 +7,8 @@ | ||||
|       yum: | ||||
|         name: | ||||
|           - git | ||||
|           - nodejs | ||||
|           - mock | ||||
|         state: present | ||||
| 
 | ||||
|     - name: Check current hostname | ||||
| @@ -15,7 +16,7 @@ | ||||
|       register: current_hostname | ||||
|       changed_when: false | ||||
| 
 | ||||
|     - name: Set hostname to rocky10 (if needed) | ||||
|     - name: Set hostname to configured value (if needed) | ||||
|       hostname: | ||||
|         name: rocky10 | ||||
|       when: current_hostname.stdout != "rocky10" | ||||
|         name: fedora-rawhide10 | ||||
|       when: current_hostname.stdout != ansible_hostname | ||||
		Reference in New Issue
	
	Block a user