I cloned the debops repository and did a python setup.py install --user. debops-update seems to run fine. But I needed to patch GIT_GIT_URI = GIT_URI, because I am behind a corporate proxy.
I.e.
debops-init /tmp/test-debops/
cd /tmp/test-debops
cat > ansible/inventory/hosts <<EOF
[gitlab]
vagrant_gitlab ansible_ssh_host=192.168.121.59 ansible_ssh_private_key=~/.vagrant.d/insecure_private_key ansible_ssh_user=vagrant
EOF
debops-task all -m setup # works fine
mkdir ansible/inventory/host_vars/vagrant_gitlab
cat > ansible/inventory/host_vars/vagrant_gitlab/vars.yml <<EOF
# Set custom timezone on the server
ntp_timezone: 'Europe/Paris'
# Protect the SSH service by specifying list of hosts/networks which can
# access it (by default access is allowed from anywhere, but firewall blocks
# too many connection attempts in a short amout of time)
sshd_host_allow: [ '192.168.178.0/24' ]
# Specify a mail server to send all mail through (it needs to accept the
# incoming messages from your host)
postfix_relayhost: 'mail.intern.example.com'
# Set a default admin e-mail address where all messages to root account will
# be forwarded
postfix_default_local_alias_recipients: [ 'admin@example.com' ]
EOF
Currently, the readme states:
Run the DebOps playbooks
$ debops
When I do that, I get
>env http_proxy= https_proxy= debops
Running Ansible playbook from:
/home/muelli/.local/share/debops/debops-playbooks/playbooks/site.yml ...
ERROR: set_fact is not a legal parameter in an Ansible task or handler
>
I expected to be able to run debops as per the documentation.
I followed the documentation on http://docs.debops.org/en/latest/getting-started.html#your-first-project
I cloned the debops repository and did a
python setup.py install --user
.debops-update
seems to run fine. But I needed to patchGIT_GIT_URI = GIT_URI
, because I am behind a corporate proxy.I.e.
Currently, the readme states:
When I do that, I get
I expected to be able to run debops as per the documentation.
I'm running ansible 1.7.2.