Skip to content

Commit 4055bb6

Browse files
committed
updates
1 parent b1f018b commit 4055bb6

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

handlers/main.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@
88

99
- name: Reload all system config settings.
1010
become: true
11-
ansible.builtin.command:
12-
cmd: sysctl --system
11+
ansible.posix.sysctl:
12+
name: net.ipv4.ip_forward
13+
reload: true

tasks/setup-takserver-config.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,3 +76,6 @@
7676
a: http://bbn.com/marti/xml/config
7777
b: http://www.w3.org/2001/XMLSchema-instance
7878
c: file:///opt/tak/CoreConfig.xsd
79+
80+
- name: Flush handlers.
81+
meta: flush_handlers

tasks/setup-takserver-db.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# code: language=ansible
22
---
3+
- name: Install psycopg2 Python module.
4+
ansible.builtin.dnf:
5+
name: python3-psycopg2
6+
state: present
7+
38
- name: Setup TAK PostgreSQL Database.
49
ansible.builtin.command: /opt/tak/db-utils/takserver-setup-db.sh
510
args:
@@ -11,4 +16,3 @@
1116
name: "{{ takserver_db_user }}"
1217
password: "{{ takserver_db_pass }}"
1318
become_user: postgres
14-

0 commit comments

Comments
 (0)