mirror of
				https://gitlab.sectorq.eu/jaydee/ansible.git
				synced 2025-10-30 09:51:10 +01:00 
			
		
		
		
	upt playbook
This commit is contained in:
		| @@ -3,6 +3,7 @@ | |||||||
|   become: yes |   become: yes | ||||||
|   tasks: |   tasks: | ||||||
|     - name: Install ldap packages |     - name: Install ldap packages | ||||||
|  |       become: true | ||||||
|       ansible.builtin.apt: |       ansible.builtin.apt: | ||||||
|         name:  |         name:  | ||||||
|           - curl |           - curl | ||||||
| @@ -19,14 +20,15 @@ | |||||||
|     - name: Get repo |     - name: Get repo | ||||||
|       ansible.builtin.shell: >- |       ansible.builtin.shell: >- | ||||||
|         wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > packages.microsoft.gpg |         wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > packages.microsoft.gpg | ||||||
|  |       become: true | ||||||
|     - name: Get repo |     - name: Get repo | ||||||
|       ansible.builtin.shell: >- |       ansible.builtin.shell: >- | ||||||
|         install -D -o root -g root -m 644 packages.microsoft.gpg /etc/apt/keyrings/packages.microsoft.gpg |         install -D -o root -g root -m 644 packages.microsoft.gpg /etc/apt/keyrings/packages.microsoft.gpg | ||||||
|  |       become: true | ||||||
|     - name: Get repo |     - name: Get repo | ||||||
|       ansible.builtin.shell: >- |       ansible.builtin.shell: >- | ||||||
|         echo "deb [arch=amd64,arm64,armhf signed-by=/etc/apt/keyrings/packages.microsoft.gpg] https://packages.microsoft.com/repos/code stable main" > /etc/apt/sources.list.d/vscode.list |         echo "deb [arch=amd64,arm64,armhf signed-by=/etc/apt/keyrings/packages.microsoft.gpg] https://packages.microsoft.com/repos/code stable main" > /etc/apt/sources.list.d/vscode.list | ||||||
|  |       become: true | ||||||
|     - name: Install code |     - name: Install code | ||||||
|       ansible.builtin.apt: |       ansible.builtin.apt: | ||||||
|         name:  |         name:  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 jaydee
					jaydee