kpi-web-guild / kpi-web-guild/devspace

Rewrite apps installation script as an Ansible playbook

Open
#5 2 comments 0 reactions 1 assignee Claimed by @l1storez View on GitHub
enhancement
Dominant language
Shell
Stars
2
Forks
0
PR merge metrics
No merged PRs in 30d

Description

1.
```console
pip install ansible-core --user
```
2. create an inventory file with a `localhost` entry in it with `connection=local` param
3. create a playbook `install-apps.yml`
it'd look smth like
```yaml
- name: Install OS-level apps
hosts: all
become: yes
tasks:
- name: Configure repositories
apt_repository:
...
- name: Install apps
apt:
name:
-
-
...
```
4. The invocation would look like:
```console
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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.