Difference between revisions of "Ansible package:"

From wikieduonline
Jump to navigation Jump to search
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
https://docs.ansible.com/ansible/latest/collections/ansible/builtin/package_module.html
 +
 
* [[Ansible playbooks examples]]: [[Install and configure sysstat using Ansible]]
 
* [[Ansible playbooks examples]]: [[Install and configure sysstat using Ansible]]
 +
 +
- name: Install the latest version of Apache and MariaDB
 +
  ansible.builtin.package:
 +
    name:
 +
      - httpd
 +
      - mariadb-server
 +
    state: latest
  
 
== Related terms ==
 
== Related terms ==
 
* [[Ansible module]]: <code>[[lineinfile]]</code>
 
* [[Ansible module]]: <code>[[lineinfile]]</code>
 
* <code>[[apt:]]</code>
 
* <code>[[apt:]]</code>
 +
* <code>[[service:]]</code>
  
 
== See also ==
 
== See also ==

Latest revision as of 13:23, 5 February 2024

Advertising: