remove loop from package installation task
This commit is contained in:
		
							parent
							
								
									4ffa2375b4
								
							
						
					
					
						commit
						7397909181
					
				@ -7,23 +7,22 @@
 | 
			
		||||
 | 
			
		||||
- name: Install basic packages
 | 
			
		||||
  package:
 | 
			
		||||
    name: "{{ item }}"
 | 
			
		||||
    name:
 | 
			
		||||
      - git
 | 
			
		||||
      - vim
 | 
			
		||||
      - tmux
 | 
			
		||||
      - python3
 | 
			
		||||
      - python3-pip
 | 
			
		||||
      - python3-venv
 | 
			
		||||
      - curl
 | 
			
		||||
      - wget
 | 
			
		||||
      - build-essential
 | 
			
		||||
      - rsync
 | 
			
		||||
      - bash-completion
 | 
			
		||||
      - apt-transport-https
 | 
			
		||||
      - ca-certificates
 | 
			
		||||
      - gnupg
 | 
			
		||||
    state: present
 | 
			
		||||
  loop:
 | 
			
		||||
    - git
 | 
			
		||||
    - vim
 | 
			
		||||
    - tmux
 | 
			
		||||
    - python3
 | 
			
		||||
    - python3-pip
 | 
			
		||||
    - python3-venv
 | 
			
		||||
    - curl
 | 
			
		||||
    - wget
 | 
			
		||||
    - build-essential
 | 
			
		||||
    - rsync
 | 
			
		||||
    - bash-completion
 | 
			
		||||
    - apt-transport-https
 | 
			
		||||
    - ca-certificates
 | 
			
		||||
    - gnupg
 | 
			
		||||
 | 
			
		||||
- name: Create user
 | 
			
		||||
  user:
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user