entercloudsuite / ansible-haproxy Goto Github PK
View Code? Open in Web Editor NEWInstalls HAProxy for the ECS automation platform
License: MIT License
Installs HAProxy for the ECS automation platform
License: MIT License
Hi
I ran the playbook against an ubnutu server and I got the error below :
fatal: [[email protected]]: FAILED! => {"changed": false, "msg": "E:Failed to fetch https://download.docker.com/linux/ubuntu/dists/bionic/InRelease 403 Forbidden [IP: 143.204.101.42 443], E:The repository 'https://download.docker.com/linux/ubuntu bionic InRelease' is no longer signed."}
Could you please help me to resolve this issue ?
An issue arises when trying to use the example playbook. The version of keepalived (3.0.0) fails:
Ansible Version:
$ ansible --version
ansible 2.7.10
config file = /etc/ansible/ansible.cfg
configured module search path = ['/home/$USER/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python3.7/site-packages/ansible
executable location = /usr/bin/ansible
python version = 3.7.3 (default, Mar 26 2019, 21:43:19) [GCC 8.2.1 20181127]
Playbook:
$ cat playbooks/forwarder.yml
---
- hosts: all
sudo: true
roles:
- name: entercloudsuite.haproxy
haproxy_conf: |
listen web
mode http
bind *:80
default-server port 80
server web-0 1.1.1.1:80 check
Error:
TASK [oefenweb.keepalived : update configuration file] *************************
task path: /home/$USER/.ansible/roles/oefenweb.keepalived/tasks/main.yml:163
<127.0.0.1> ESTABLISH SSH CONNECTION FOR USER: vagrant
<127.0.0.1> SSH: EXEC ssh -o UserKnownHostsFile=/dev/null -o IdentitiesOnly=yes -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o
<127.0.0.1> (0, b'', b'')
fatal: [default]: FAILED! => {
"changed": false,
"msg": "AnsibleUndefinedVariable: 'dict object' has no attribute 'iteritems'"
}
I believe this is because of a structure change in the dependency module. However upgrading the KeepAlive module from 3.0.0 -> 3.2.0 (latests) seems to fix it. I'll put in a PR for that.
Would you take a PR to add support for CentOS / EL to this role?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.