ansible-ops-management/tasks/netbox/presetup.yml

30 lines
537 B
YAML
Raw Normal View History

2024-03-23 06:24:10 +00:00
---
- 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
...