Difference between revisions of "Ansible apt module"

From wikieduonline
Jump to navigation Jump to search
(Created page with " - name: Install apache2 package (state=present is optional) apt: name: apache2 state: present == See also == * {{ansible}} * {{apt}} Category:Ansible")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
  
 +
 +
https://docs.ansible.com/ansible/latest/collections/ansible/builtin/apt_module.html
  
 
  - name: Install apache2 package (state=present is optional)
 
  - name: Install apache2 package (state=present is optional)
   apt:
+
   [[apt:]]
 
     name: apache2
 
     name: apache2
 
     state: present
 
     state: present

Latest revision as of 14:40, 20 October 2021

Advertising: