Re: [ansible-project] I want to init postgresql in k8s, who can share me the sample,thanks!

2022-03-25 Thread dulhaver via Ansible Project
正光,你好!     I want to init postgresql in k8s, try use the code as below to do: I would say this happens when the container image is run, latest with an entrypoint script. If you study the official docker postgres repository I think this happens starting from line 63 in the docker-entrypoint.sh

[ansible-project] I want to init postgresql in k8s, who can share me the sample,thanks!

2022-03-25 Thread 曾正光
Hi all, I want to init postgresql in k8s, try use the code as below to do: - name: Get the password for postgresql kubernetes.core.k8s_info: kind: secret name: postgresql-ha-postgresql namespace: pgdb register: pgsql_info - name: set_fact: pg_pwd: "{{ pgsql_info |json_query(item) | b64decode

Re: [ansible-project] Ansible play book error ec2 setpu

2022-03-25 Thread Amit Chettri
Your playbook syntax is not right Incorrect: --- Name: webserver hosts: centos connection: local tasks: Correct way should be --- - name: webserver hosts: centos connection: local tasks: Regards Amit On Thu, 24 Mar 2022, 15:46 prasanna kumar, wrote: > Dear dick, > > I have to i

[ansible-project] iis wildcard-certificate binding leads to error message in site bindings

2022-03-25 Thread andregr...@gmail.com
hi, i managed to install an updated wildcard certificate on our server. but after trying to bind one of the sites to that new certificate i got an error message. as a result i am not able to open the site bindings-settings in iis for that site anymore ("wring parameter"). any idea what happene

[ansible-project] Re: How to get desired data from JSON

2022-03-25 Thread dmc...@gmail.com
I added a GitHub repo with a few examples showing how to parse your JSON file. I've already had a contribution extending my code and creating a loop to pull out all the matches. https://github.com/dmccuk/json_parsing_with_ansible On Tuesday, 22 March 2022 at 17:14:27 UTC dmc...@gmail.com wrot