Difference between revisions of "Ansible package:"
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
https://docs.ansible.com/ansible/latest/collections/ansible/builtin/package_module.html
- name: Install the latest version of Apache and MariaDB ansible.builtin.package: name: - httpd - mariadb-server state: latest
Related terms[edit]
See also[edit]
- Ansible modules:
gather_facts, set_fact
,ansible.builtin.file
,lineinfile
,stat
,group
,mount
,git:
,package:
,command:
,shell:
,raw:
,template:
,register:
,user:
, Ansible playbooks examples,tasks:
,lineinfile, blockinfile:
,shell:
,command:
,raw:
,ansible.builtin.file, service:, aws.ecs_taskdefinition, aws.asg, docker_container, kubernetes.core.k8s
,community.
,include_tasks
- Ansible: modules, plugins, Playbooks (examples)
ansible-playbook
,ansible-vault
,ansible-inventory
,ansible-config
, Ansible Tower, Ansible Galaxy (Roles) (ansible-galaxy
),ansible-cmdb
,gather facts
,ansible.cfg
,Ansible Molecule
, Ansible collections,register
,template
,--ask-pass
,--ask-become-pass
,remote_user:
,/etc/ansible/hosts
,ansible-doc
,ansible-lint
,.ansible/
,--forks
,--start-at-task
,changelog
,inventory
,Notify:
,ansible HOSTNAME -m ping
,gathering
,/usr/bin/ansible
,ansible -m ping
,ansible.builtin
,hosts: (Ansible)
,set fact:
,when:
,blockinfile:
,become method:
,include:
,git:
, AWX,ansible --help
, Tags, Ansible variables, versions
Advertising: