30 lines
537 B
YAML
30 lines
537 B
YAML
|
---
|
||
|
- name: Install git and nginx
|
||
|
become: true
|
||
|
ansible.builtin.package:
|
||
|
name:
|
||
|
- git
|
||
|
- nginx
|
||
|
state: present
|
||
|
|
||
|
- name: Install required software to build python libs
|
||
|
become: true
|
||
|
ansible.builtin.package:
|
||
|
name:
|
||
|
- gcc
|
||
|
- libxml2-devel
|
||
|
- libxslt-devel
|
||
|
- libffi-devel
|
||
|
- libpq-devel
|
||
|
- openssl-devel
|
||
|
- redhat-rpm-config
|
||
|
state: present
|
||
|
|
||
|
- name: Setup initial netbox user
|
||
|
become: true
|
||
|
ansible.builtin.user:
|
||
|
name: netbox
|
||
|
comment: "NetBox"
|
||
|
system: true
|
||
|
...
|