Hi,
I am trying to create a sub-task to update an existing table in a file:
/var/lib/pgsql/10/data/pg_hba.conf
# TYPE DATABASEUSERADDRESS METHOD
# "local" is for Unix domain socket connections only
local all all
Hi,
I have a playbook which is running against this type of structured
inventory file
# Ansible Inventory
[webservers]
host1
host2
[nodes]
host3
host4
[all:vars]
#
The playbook needs to effectively run three plays in this order which it is
doing:
1. Do stuff to We
Hi,
I am looking to automate this task within ansible and have no idea really
how to do this.
I run the set up script manually on the host(s) like this:
I call the "setup" script below with npm run options:
npm run setup
The script then prompts for my user input to provide the following deta
5432 ]'
tags:
- setup
- install
- test
Error: "Postgresql Superuser (for database creation) [default:
postgres]:"]}
I am struggling to find any other working solutions for ansible to manage
an interactive script such as this so any help much apprec
Hi,
Any ideas where I am going wrong here.
I have a web server tasks which uses shell to start apache no problem:
- hosts: webservers
remote_user: root
become_user: test
become: True
tasks:
- name: Task18 - Start webservers back up
shell: ./apache/bin/apachectl star
Hi,
Any ideas where I am going wrong here?
I have a web server task which uses shell to start apache no problem:
- hosts: webservers
remote_user: root
become_user: test
become: True
tasks:
- name: Task18 - Start webservers back up
shell: ./apache/bin/apachectl start
Hi,
I have created the following task to be run on a remote host:
- hosts: nodes
remote_user: root
tasks:
- name: Step Seven - remove all current postcode data and then
re-populate the database with most recent data
become_user: postgres
become: yes
command: "cat /var/l
7;m wrong about why
> the MemoryError is happening, there might be another problem in
> addition but I am hopeful that it's all tied together).
>
> -Toshio
>
> On Tue, Nov 26, 2019 at 9:12 AM jonin >
> wrote:
> >
> > Hi,
> >
> > I have cre