-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
pip install ansible-core --user
- create an inventory file with a
localhost
entry in it withconnection=local
param - create a playbook
install-apps.yml
it'd look smth like
- name: Install OS-level apps
hosts: all
become: yes
tasks:
- name: Configure repositories
apt_repository:
...
- name: Install apps
apt:
name:
-
-
...
- The invocation would look like:
ansible-playbook -i inventory -K install-apps.yml
Ref: https://docs.ansible.com/ansible/devel/user_guide/index.html
Ref: https://docs.ansible.com/ansible/devel/modules/apt_module.html
Ref: https://docs.ansible.com/ansible/devel/modules/apt_repository_module.html
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request