carlalexander / debops-wordpress

Your superpowered WordPress server in three commands.
GNU General Public License v3.0
440 stars 65 forks source link

"Could not match supplied host pattern" and "Could not create retry file" #202

Closed christianmagill closed 6 years ago

christianmagill commented 6 years ago

Hi,

I'm attempting to setup my first installation/server.

Following the format wordpress.example.com I've:

debops bootstrap -u root -vvv

Running the above command I receive two warnings:

[WARNING]: Could not match supplied host pattern, ignoring: debops_service_bootstrap

and

[WARNING]: Could not create retry file '/Users/christianmagill/Library/Application Support/debops/debops/ansible/playbooks/bootstrap.retry'.         [Errno 13] Permission denied:
u'/Users/christianmagill/Library/Application Support/debops/debops/ansible/playbooks/bootstrap.retry'

Here's the full log.

Much thanks for any help!

$ debops bootstrap -u root -vvv                                                                                                                                                  [10:06:28]
Running Ansible playbook from:
/Users/christianmagill/Library/Application Support/debops/debops/ansible/playbooks/bootstrap.yml ...
ansible-playbook 2.5.2
  config file = /Users/christianmagill/Code/Servers/server-01/ansible.cfg
  configured module search path = [u'/Users/christianmagill/Code/Servers/server-01/ansible/playbooks/library', u'/Users/christianmagill/Code/Servers/server-01/ansible/plugins/library', u'/Users/christianmagill/Code/Servers/server-01/ansible/library', u'/Users/christianmagill/Code/Servers/server-01/debops/ansible/playbooks/playbooks/library', u'/Users/christianmagill/Code/Servers/server-01/debops/ansible/playbooks/library', u'/Users/christianmagill/Code/Servers/server-01/debops/ansible/plugins/library', u'/Users/christianmagill/Code/Servers/server-01/debops/ansible/library', u'/Users/christianmagill/Library/Application Support/debops/debops/ansible/playbooks/playbooks/library', u'/Users/christianmagill/Library/Application Support/debops/debops/ansible/playbooks/library', u'/Users/christianmagill/Library/Application Support/debops/debops/ansible/plugins/library', u'/Users/christianmagill/Library/Application Support/debops/debops/ansible/library', u'/Library/Python/2.7/site-packages/debops/ansible/library', u'/Users/christianmagill/Library/Application Support/debops/debops/ansible/playbooks/library', u'/usr/share/ansible/library']
  ansible python module location = /Library/Python/2.7/site-packages/ansible
  executable location = /usr/local/bin/ansible-playbook
  python version = 2.7.10 (default, Jul 15 2017, 17:16:57) [GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.31)]
Using /Users/christianmagill/Code/Servers/server-01/ansible.cfg as config file
Parsed /Users/christianmagill/Code/Servers/server-01/inventory/hosts inventory source with ini plugin
statically imported: /Users/christianmagill/Library/Application Support/debops/debops/ansible/roles/debops.bootstrap/tasks/admin_accounts.yml

PLAYBOOK: bootstrap.yml ********************************************************************************************************************************************************************
2 plays in /Users/christianmagill/Library/Application Support/debops/debops/ansible/playbooks/bootstrap.yml
 [WARNING]: Could not match supplied host pattern, ignoring: debops_service_bootstrap

PLAY [Bootstrap Python support on a host] **************************************************************************************************************************************************
META: ran handlers

TASK [debops.python/raw : Update APT repositories, install core Python packages] ***********************************************************************************************************
task path: /Users/christianmagill/Library/Application Support/debops/debops/ansible/roles/debops.python/raw/tasks/main.yml:3
<server-01.serverbox.space> ESTABLISH SSH CONNECTION FOR USER: root
<server-01.serverbox.space> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 -o ControlPath=/Users/christianmagill/.ansible/cp/b16a94b702 -tt server-01.serverbox.space 'if [ -z "$(find /var/cache/apt/pkgcache.bin -mmin -43200)" ]; then
 apt-get -q update
 fi
 if [ "false" = "true" ] && [ ! -f "/etc/ansible/facts.d/python.fact" ] ; then
 LANG=C apt-get --purge -yq remove python python2.7 libpython2.7-minimal
 fi
 LANG=C apt-get --no-install-recommends -yq install python3 python3-apt python python-apt'
<server-01.serverbox.space> (0, "Reading package lists...\r\nBuilding dependency tree...\r\nReading state information...\r\npython3 is already the newest version (3.5.1-3).\r\npython is already the newest version (2.7.12-1~16.04).\r\npython-apt is already the newest version (1.1.0~beta1ubuntu0.16.04.1).\r\npython3-apt is already the newest version (1.1.0~beta1ubuntu0.16.04.1).\r\nThe following package was automatically installed and is no longer required:\r\n  grub-pc-bin\r\nUse 'apt autoremove' to remove it.\r\n0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.\r\n", 'Shared connection to server-01.serverbox.space closed.\r\n')
ok: [server-01.serverbox.space] => {
    "changed": false,
    "rc": 0,
    "stderr": "Shared connection to server-01.serverbox.space closed.\r\n",
    "stdout": "Reading package lists...\r\nBuilding dependency tree...\r\nReading state information...\r\npython3 is already the newest version (3.5.1-3).\r\npython is already the newest version (2.7.12-1~16.04).\r\npython-apt is already the newest version (1.1.0~beta1ubuntu0.16.04.1).\r\npython3-apt is already the newest version (1.1.0~beta1ubuntu0.16.04.1).\r\nThe following package was automatically installed and is no longer required:\r\n  grub-pc-bin\r\nUse 'apt autoremove' to remove it.\r\n0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.\r\n",
    "stdout_lines": [
        "Reading package lists...",
        "Building dependency tree...",
        "Reading state information...",
        "python3 is already the newest version (3.5.1-3).",
        "python is already the newest version (2.7.12-1~16.04).",
        "python-apt is already the newest version (1.1.0~beta1ubuntu0.16.04.1).",
        "python3-apt is already the newest version (1.1.0~beta1ubuntu0.16.04.1).",
        "The following package was automatically installed and is no longer required:",
        "  grub-pc-bin",
        "Use 'apt autoremove' to remove it.",
        "0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded."
    ]
}
META: ran handlers
META: ran handlers

PLAY [Bootstrap host for Ansible management] ***********************************************************************************************************************************************

TASK [Gathering Facts] *********************************************************************************************************************************************************************
task path: /Users/christianmagill/Library/Application Support/debops/debops/ansible/playbooks/bootstrap.yml:41
Using module file /Library/Python/2.7/site-packages/ansible/modules/system/setup.py
<server-01.serverbox.space> ESTABLISH SSH CONNECTION FOR USER: root
<server-01.serverbox.space> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 -o ControlPath=/Users/christianmagill/.ansible/cp/b16a94b702 server-01.serverbox.space '/bin/sh -c '"'"'echo ~ && sleep 0'"'"''
<server-01.serverbox.space> (0, '/root\n', '')
<server-01.serverbox.space> ESTABLISH SSH CONNECTION FOR USER: root
<server-01.serverbox.space> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 -o ControlPath=/Users/christianmagill/.ansible/cp/b16a94b702 server-01.serverbox.space '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1526220487.48-211633659124620 `" && echo ansible-tmp-1526220487.48-211633659124620="` echo /root/.ansible/tmp/ansible-tmp-1526220487.48-211633659124620 `" ) && sleep 0'"'"''
<server-01.serverbox.space> (0, 'ansible-tmp-1526220487.48-211633659124620=/root/.ansible/tmp/ansible-tmp-1526220487.48-211633659124620\n', '')
<server-01.serverbox.space> PUT /Users/christianmagill/.ansible/tmp/ansible-local-55011yleUb6/tmpuzqLIK TO /root/.ansible/tmp/ansible-tmp-1526220487.48-211633659124620/setup.py
<server-01.serverbox.space> SSH: EXEC sftp -b - -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 -o ControlPath=/Users/christianmagill/.ansible/cp/b16a94b702 '[server-01.serverbox.space]'
<server-01.serverbox.space> (0, 'sftp> put /Users/christianmagill/.ansible/tmp/ansible-local-55011yleUb6/tmpuzqLIK /root/.ansible/tmp/ansible-tmp-1526220487.48-211633659124620/setup.py\n', '')
<server-01.serverbox.space> ESTABLISH SSH CONNECTION FOR USER: root
<server-01.serverbox.space> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 -o ControlPath=/Users/christianmagill/.ansible/cp/b16a94b702 server-01.serverbox.space '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1526220487.48-211633659124620/ /root/.ansible/tmp/ansible-tmp-1526220487.48-211633659124620/setup.py && sleep 0'"'"''
<server-01.serverbox.space> (0, '', '')
<server-01.serverbox.space> ESTABLISH SSH CONNECTION FOR USER: root
<server-01.serverbox.space> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 -o ControlPath=/Users/christianmagill/.ansible/cp/b16a94b702 -tt server-01.serverbox.space '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1526220487.48-211633659124620/setup.py && sleep 0'"'"''
<server-01.serverbox.space> (0, '\r\n{"invocation": {"module_args": {"filter": "*", "gather_subset": ["all"], "fact_path": "/etc/ansible/facts.d", "gather_timeout": 10}}, "ansible_facts": {"ansible_product_serial": "93480559", "ansible_form_factor": "Other", "ansible_distribution_file_parsed": true, "ansible_fips": false, "ansible_service_mgr": "systemd", "ansible_user_id": "root", "ansible_selinux_python_present": false, "ansible_userspace_bits": "64", "ansible_ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABAQC3jS0OIjDoItmbcHth8LYC+lbCCdskENFPoScXyJigtYVDBYIPmUEFUj2cjQAxiShqhU7y04iO2GANYSeLo9A8Wwzw2fk2Tan0Al0m+8F73jUxtvycIHxYyGHhOJrOb0WJZrOakxKHbrs3hEWYef5phmh6jTObDJqqTVoaCiz2ADlQH+ev31DqecRNRIPnaVDbxo5EKlE6AV+UxNZtQVxMjkVSHzPljDnFyUsf2bcicyMfD2s7UpR3hUgWOHJOc8Q9vD5U4qv62wkQm5nmvz700VJfQOJfupaBIE4/enbjqWPlllhT2oqLvF9fiANQkHaHFUAqeS/heLCLENadPhaP", "gather_subset": ["all"], "ansible_ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBIqhy0S2uI7KwX1DDjwSK75sb0iSTjKgq2g4+fqdfidA14WN8tUXV5eSP3hMtLWAEmH4ocYI3hNuJXG/sZ3nRXs=", "ansible_local": {}, "ansible_distribution_version": "16.04", "ansible_domain": "serverbox.space", "ansible_distribution_file_path": "/etc/os-release", "ansible_user_shell": "/bin/bash", "ansible_virtualization_type": "kvm", "ansible_real_user_id": 0, "ansible_processor_cores": 1, "ansible_virtualization_role": "host", "ansible_distribution_file_variety": "Debian", "ansible_dns": {"nameservers": ["67.207.67.2", "67.207.67.3"]}, "ansible_effective_group_id": 0, "ansible_is_chroot": false, "ansible_bios_version": "20171212", "ansible_processor": ["0", "GenuineIntel", "Intel(R) Xeon(R) CPU E5-2630L v2 @ 2.40GHz"], "ansible_date_time": {"weekday_number": "0", "iso8601_basic_short": "20180513T140809", "tz": "UTC", "weeknumber": "19", "hour": "14", "year": "2018", "minute": "08", "tz_offset": "+0000", "month": "05", "epoch": "1526220489", "iso8601_micro": "2018-05-13T14:08:09.099788Z", "weekday": "Sunday", "time": "14:08:09", "date": "2018-05-13", "iso8601": "2018-05-13T14:08:09Z", "day": "13", "iso8601_basic": "20180513T140809099684", "second": "09"}, "ansible_lo": {"features": {"tx_checksum_ipv4": "off [fixed]", "generic_receive_offload": "on", "tx_checksum_ipv6": "off [fixed]", "tx_scatter_gather_fraglist": "on [fixed]", "rx_all": "off [fixed]", "highdma": "on [fixed]", "rx_fcs": "off [fixed]", "tx_lockless": "on [fixed]", "tx_tcp_ecn_segmentation": "on", "tx_tcp6_segmentation": "on", "tx_gso_robust": "off [fixed]", "tx_ipip_segmentation": "off [fixed]", "tx_checksumming": "on", "vlan_challenged": "on [fixed]", "loopback": "on [fixed]", "fcoe_mtu": "off [fixed]", "tx_checksum_sctp": "on [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "large_receive_offload": "off [fixed]", "tx_scatter_gather": "on [fixed]", "rx_checksumming": "on [fixed]", "tx_tcp_segmentation": "on", "netns_local": "on [fixed]", "busy_poll": "off [fixed]", "generic_segmentation_offload": "on", "tx_udp_tnl_segmentation": "off [fixed]", "tcp_segmentation_offload": "on", "l2_fwd_offload": "off [fixed]", "rx_vlan_offload": "off [fixed]", "ntuple_filters": "off [fixed]", "tx_vlan_offload": "off [fixed]", "tx_nocache_copy": "off [fixed]", "udp_fragmentation_offload": "on", "scatter_gather": "on", "tx_sit_segmentation": "off [fixed]", "tx_checksum_fcoe_crc": "off [fixed]", "hw_tc_offload": "off [fixed]", "tx_checksum_ip_generic": "on [fixed]", "tx_fcoe_segmentation": "off [fixed]", "rx_vlan_filter": "off [fixed]", "receive_hashing": "off [fixed]", "tx_gre_segmentation": "off [fixed]"}, "hw_timestamp_filters": [], "mtu": 65536, "device": "lo", "promisc": false, "timestamping": ["rx_software", "software"], "ipv4": {"broadcast": "host", "netmask": "255.0.0.0", "network": "127.0.0.0", "address": "127.0.0.1"}, "ipv6": [{"scope": "host", "prefix": "128", "address": "::1"}], "active": true, "type": "loopback"}, "ansible_memtotal_mb": 992, "ansible_architecture": "x86_64", "ansible_device_links": {"masters": {}, "labels": {"vda15": ["UEFI"], "vda1": ["cloudimg-rootfs"]}, "ids": {}, "uuids": {"vda15": ["6BA9-FF4F"], "vda1": ["8eec01f5-0ae4-48fc-a763-d32b3a52880f"]}}, "ansible_default_ipv4": {"macaddress": "46:35:46:12:98:0e", "network": "104.131.64.0", "mtu": 1500, "broadcast": "104.131.127.255", "alias": "eth0", "netmask": "255.255.192.0", "address": "104.131.65.176", "interface": "eth0", "type": "ether", "gateway": "104.131.64.1"}, "ansible_swapfree_mb": 0, "ansible_default_ipv6": {}, "ansible_distribution_release": "xenial", "ansible_system_vendor": "DigitalOcean", "ansible_os_family": "Debian", "ansible_cmdline": {"BOOT_IMAGE": "/boot/vmlinuz-4.4.0-124-generic", "ro": true, "root": "LABEL=cloudimg-rootfs", "console": "ttyS0"}, "ansible_effective_user_id": 0, "ansible_user_gid": 0, "ansible_selinux": {"status": "Missing selinux Python library"}, "ansible_product_version": "20171212", "ansible_apparmor": {"status": "enabled"}, "ansible_userspace_architecture": "x86_64", "ansible_product_uuid": "8BFC19EC-0DED-4380-AA7A-EE7CFD3E9705", "ansible_fqdn": "server-01.serverbox.space", "ansible_system": "Linux", "ansible_pkg_mgr": "apt", "ansible_memfree_mb": 601, "ansible_devices": {"vda": {"scheduler_mode": "", "rotational": "1", "vendor": "0x1af4", "sectors": "52428800", "links": {"masters": [], "labels": [], "ids": [], "uuids": []}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "SCSI storage controller: Red Hat, Inc Virtio block device", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": null, "partitions": {"vda15": {"sectorsize": 512, "uuid": "6BA9-FF4F", "links": {"masters": [], "labels": ["UEFI"], "ids": [], "uuids": ["6BA9-FF4F"]}, "sectors": "217088", "start": "10240", "holders": [], "size": "106.00 MB"}, "vda14": {"sectorsize": 512, "uuid": null, "links": {"masters": [], "labels": [], "ids": [], "uuids": []}, "sectors": "8192", "start": "2048", "holders": [], "size": "4.00 MB"}, "vda1": {"sectorsize": 512, "uuid": "8eec01f5-0ae4-48fc-a763-d32b3a52880f", "links": {"masters": [], "labels": ["cloudimg-rootfs"], "ids": [], "uuids": ["8eec01f5-0ae4-48fc-a763-d32b3a52880f"]}, "sectors": "52201439", "start": "227328", "holders": [], "size": "24.89 GB"}}, "holders": [], "size": "25.00 GB"}, "loop3": {"scheduler_mode": "", "rotational": "1", "vendor": null, "sectors": "0", "links": {"masters": [], "labels": [], "ids": [], "uuids": []}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": null, "partitions": {}, "holders": [], "size": "0.00 Bytes"}, "loop2": {"scheduler_mode": "", "rotational": "1", "vendor": null, "sectors": "0", "links": {"masters": [], "labels": [], "ids": [], "uuids": []}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": null, "partitions": {}, "holders": [], "size": "0.00 Bytes"}, "loop1": {"scheduler_mode": "", "rotational": "1", "vendor": null, "sectors": "0", "links": {"masters": [], "labels": [], "ids": [], "uuids": []}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": null, "partitions": {}, "holders": [], "size": "0.00 Bytes"}, "loop0": {"scheduler_mode": "", "rotational": "1", "vendor": null, "sectors": "0", "links": {"masters": [], "labels": [], "ids": [], "uuids": []}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": null, "partitions": {}, "holders": [], "size": "0.00 Bytes"}, "loop7": {"scheduler_mode": "", "rotational": "1", "vendor": null, "sectors": "0", "links": {"masters": [], "labels": [], "ids": [], "uuids": []}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": null, "partitions": {}, "holders": [], "size": "0.00 Bytes"}, "loop6": {"scheduler_mode": "", "rotational": "1", "vendor": null, "sectors": "0", "links": {"masters": [], "labels": [], "ids": [], "uuids": []}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": null, "partitions": {}, "holders": [], "size": "0.00 Bytes"}, "loop5": {"scheduler_mode": "", "rotational": "1", "vendor": null, "sectors": "0", "links": {"masters": [], "labels": [], "ids": [], "uuids": []}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": null, "partitions": {}, "holders": [], "size": "0.00 Bytes"}, "loop4": {"scheduler_mode": "", "rotational": "1", "vendor": null, "sectors": "0", "links": {"masters": [], "labels": [], "ids": [], "uuids": []}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": null, "partitions": {}, "holders": [], "size": "0.00 Bytes"}}, "ansible_user_uid": 0, "ansible_lvm": {"pvs": {}, "lvs": {}, "vgs": {}}, "ansible_distribution": "Ubuntu", "ansible_user_dir": "/root", "ansible_env": {"LANG": "en_US.UTF-8", "TERM": "xterm-256color", "SHELL": "/bin/bash", "XDG_RUNTIME_DIR": "/run/user/0", "MAIL": "/var/mail/root", "SHLVL": "1", "SSH_TTY": "/dev/pts/1", "LC_CTYPE": "en_US.UTF-8", "PWD": "/root", "LOGNAME": "root", "USER": "root", "PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games", "HOME": "/root", "SSH_CONNECTION": "173.239.236.17 61868 104.131.65.176 22", "XDG_SESSION_ID": "16", "SSH_CLIENT": "173.239.236.17 61868 22", "_": "/bin/sh"}, "ansible_distribution_major_version": "16", "module_setup": true, "ansible_processor_count": 1, "ansible_hostname": "server-01", "ansible_processor_vcpus": 1, "ansible_swaptotal_mb": 0, "ansible_lsb": {"release": "16.04", "major_release": "16", "codename": "xenial", "id": "Ubuntu", "description": "Ubuntu 16.04.4 LTS"}, "ansible_real_group_id": 0, "ansible_bios_date": "12/12/2017", "ansible_all_ipv6_addresses": ["fe80::4435:46ff:fe12:980e"], "ansible_interfaces": ["lo", "eth0"], "ansible_uptime_seconds": 33307, "ansible_machine_id": "8bfc19ec0ded4380aa7aee7cfd3e9705", "ansible_kernel": "4.4.0-124-generic", "ansible_memory_mb": {"real": {"total": 992, "used": 391, "free": 601}, "swap": {"cached": 0, "total": 0, "free": 0, "used": 0}, "nocache": {"used": 115, "free": 877}}, "ansible_user_gecos": "root", "ansible_system_capabilities_enforced": "True", "ansible_python": {"executable": "/usr/bin/python", "version": {"micro": 12, "major": 2, "releaselevel": "final", "serial": 0, "minor": 7}, "type": "CPython", "has_sslcontext": true, "version_info": [2, 7, 12, "final", 0]}, "ansible_processor_threads_per_core": 1, "ansible_ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAILdLtzR21iPs/xmA2tDPhTwZQhexpks2ifxP5l/7ege6", "ansible_mounts": [{"block_used": 237563, "uuid": "8eec01f5-0ae4-48fc-a763-d32b3a52880f", "size_total": 25832497152, "block_total": 6306762, "mount": "/", "block_available": 6069199, "size_available": 24859439104, "fstype": "ext4", "inode_total": 3225600, "options": "rw,relatime,data=ordered", "device": "/dev/vda1", "inode_used": 62673, "block_size": 4096, "inode_available": 3162927}, {"block_used": 6874, "uuid": "6BA9-FF4F", "size_total": 109422592, "block_total": 213716, "mount": "/boot/efi", "block_available": 206842, "size_available": 105903104, "fstype": "vfat", "inode_total": 0, "options": "rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro", "device": "/dev/vda15", "inode_used": 0, "block_size": 512, "inode_available": 0}], "ansible_eth0": {"macaddress": "46:35:46:12:98:0e", "features": {"tx_checksum_ipv4": "off [fixed]", "generic_receive_offload": "on", "tx_checksum_ipv6": "off [fixed]", "tx_scatter_gather_fraglist": "off [fixed]", "rx_all": "off [fixed]", "highdma": "on [fixed]", "rx_fcs": "off [fixed]", "tx_lockless": "off [fixed]", "tx_tcp_ecn_segmentation": "on", "tx_tcp6_segmentation": "on", "tx_gso_robust": "on [fixed]", "tx_ipip_segmentation": "off [fixed]", "tx_checksumming": "on", "vlan_challenged": "off [fixed]", "loopback": "off [fixed]", "fcoe_mtu": "off [fixed]", "tx_checksum_sctp": "off [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "large_receive_offload": "off [fixed]", "tx_scatter_gather": "on", "rx_checksumming": "on [fixed]", "tx_tcp_segmentation": "on", "netns_local": "off [fixed]", "busy_poll": "on [fixed]", "generic_segmentation_offload": "on", "tx_udp_tnl_segmentation": "off [fixed]", "tcp_segmentation_offload": "on", "l2_fwd_offload": "off [fixed]", "rx_vlan_offload": "off [fixed]", "ntuple_filters": "off [fixed]", "tx_vlan_offload": "off [fixed]", "tx_nocache_copy": "off", "udp_fragmentation_offload": "on", "scatter_gather": "on", "tx_sit_segmentation": "off [fixed]", "tx_checksum_fcoe_crc": "off [fixed]", "hw_tc_offload": "off [fixed]", "tx_checksum_ip_generic": "on", "tx_fcoe_segmentation": "off [fixed]", "rx_vlan_filter": "on [fixed]", "receive_hashing": "off [fixed]", "tx_gre_segmentation": "off [fixed]"}, "type": "ether", "pciid": "virtio0", "promisc": false, "mtu": 1500, "device": "eth0", "ipv4_secondaries": [{"broadcast": "10.17.255.255", "netmask": "255.255.0.0", "network": "10.17.0.0", "address": "10.17.0.5"}], "timestamping": ["tx_software", "rx_software", "software"], "ipv4": {"broadcast": "104.131.127.255", "netmask": "255.255.192.0", "network": "104.131.64.0", "address": "104.131.65.176"}, "ipv6": [{"scope": "link", "prefix": "64", "address": "fe80::4435:46ff:fe12:980e"}], "active": true, "speed": -1, "hw_timestamp_filters": []}, "ansible_nodename": "server-01", "ansible_product_name": "Droplet", "ansible_machine": "x86_64", "ansible_system_capabilities": ["cap_chown", "cap_dac_override", "cap_dac_read_search", "cap_fowner", "cap_fsetid", "cap_kill", "cap_setgid", "cap_setuid", "cap_setpcap", "cap_linux_immutable", "cap_net_bind_service", "cap_net_broadcast", "cap_net_admin", "cap_net_raw", "cap_ipc_lock", "cap_ipc_owner", "cap_sys_module", "cap_sys_rawio", "cap_sys_chroot", "cap_sys_ptrace", "cap_sys_pacct", "cap_sys_admin", "cap_sys_boot", "cap_sys_nice", "cap_sys_resource", "cap_sys_time", "cap_sys_tty_config", "cap_mknod", "cap_lease", "cap_audit_write", "cap_audit_control", "cap_setfcap", "cap_mac_override", "cap_mac_admin", "cap_syslog", "cap_wake_alarm", "cap_block_suspend", "37+ep"], "ansible_ssh_host_key_dsa_public": "AAAAB3NzaC1kc3MAAACBAKOMbqSrFIjbI8iLGDZbgrw7ErHIDgdo9x3BPHgowmw7ybPBgCvEhUjg9NqYkm7L5qYdmoJL0ZG1bYndsKusmo0J/EKacMGP+0V8+AhPnD7I8xSVyLVNYGUP7Ccj7/Bz5OUkEpgtrObH92LXtt6bAb1tq7dv+5z3oSwquM5LE8DTAAAAFQCtVr+7hCSKmKKp8xbzwRl3Pm23MQAAAIBLzlbhKTl1ykZMhY/XNxcZwzE+tKet69BsbsW+dA3C5cwV/SeHCJzsdAlg3skhtk2Eld253PtX5OejzzbhLpAeSHieFEhA3H2BYU6czlnTIZfdR7aUnZ/MtVqxcXhXTovOBJbr3GMhQerKvYPXB9Okk5Klovu11gexu2J4XsNrngAAAIAo32G8t4m2Zls6WE2Bz2ZLyBZ8dgHJI2YC4TKiMp04vIQc5WgJAdwOr2Mq45glFfjVg3JnTNhBepFxF6RfHgbMMU1GmKILSlTDAChqRltVUeCfOU5DqTBD13CkXhm0rCPkfyYcIpJ6rXH4iCY34mgfdbNl2OVrX9htrFwdoAYtGw==", "ansible_all_ipv4_addresses": ["104.131.65.176", "10.17.0.5"], "ansible_python_version": "2.7.12"}}\r\n', 'Shared connection to server-01.serverbox.space closed.\r\n')
<server-01.serverbox.space> ESTABLISH SSH CONNECTION FOR USER: root
<server-01.serverbox.space> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 -o ControlPath=/Users/christianmagill/.ansible/cp/b16a94b702 server-01.serverbox.space '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1526220487.48-211633659124620/ > /dev/null 2>&1 && sleep 0'"'"''
<server-01.serverbox.space> (0, '', '')
ok: [server-01.serverbox.space]
META: ran handlers

TASK [debops.python : Install requested APT packages] **************************************************************************************************************************************
task path: /Users/christianmagill/Library/Application Support/debops/debops/ansible/roles/debops.python/tasks/main.yml:3
Using module file /Library/Python/2.7/site-packages/ansible/modules/packaging/os/apt.py
<server-01.serverbox.space> ESTABLISH SSH CONNECTION FOR USER: root
<server-01.serverbox.space> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 -o ControlPath=/Users/christianmagill/.ansible/cp/b16a94b702 server-01.serverbox.space '/bin/sh -c '"'"'echo ~ && sleep 0'"'"''
<server-01.serverbox.space> (0, '/root\n', '')
<server-01.serverbox.space> ESTABLISH SSH CONNECTION FOR USER: root
<server-01.serverbox.space> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 -o ControlPath=/Users/christianmagill/.ansible/cp/b16a94b702 server-01.serverbox.space '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1526220489.76-280834157810405 `" && echo ansible-tmp-1526220489.76-280834157810405="` echo /root/.ansible/tmp/ansible-tmp-1526220489.76-280834157810405 `" ) && sleep 0'"'"''
<server-01.serverbox.space> (0, 'ansible-tmp-1526220489.76-280834157810405=/root/.ansible/tmp/ansible-tmp-1526220489.76-280834157810405\n', '')
<server-01.serverbox.space> PUT /Users/christianmagill/.ansible/tmp/ansible-local-55011yleUb6/tmpLdA_4y TO /root/.ansible/tmp/ansible-tmp-1526220489.76-280834157810405/apt.py
<server-01.serverbox.space> SSH: EXEC sftp -b - -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 -o ControlPath=/Users/christianmagill/.ansible/cp/b16a94b702 '[server-01.serverbox.space]'
<server-01.serverbox.space> (0, 'sftp> put /Users/christianmagill/.ansible/tmp/ansible-local-55011yleUb6/tmpLdA_4y /root/.ansible/tmp/ansible-tmp-1526220489.76-280834157810405/apt.py\n', '')
<server-01.serverbox.space> ESTABLISH SSH CONNECTION FOR USER: root
<server-01.serverbox.space> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 -o ControlPath=/Users/christianmagill/.ansible/cp/b16a94b702 server-01.serverbox.space '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1526220489.76-280834157810405/ /root/.ansible/tmp/ansible-tmp-1526220489.76-280834157810405/apt.py && sleep 0'"'"''
<server-01.serverbox.space> (0, '', '')
<server-01.serverbox.space> ESTABLISH SSH CONNECTION FOR USER: root
<server-01.serverbox.space> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 -o ControlPath=/Users/christianmagill/.ansible/cp/b16a94b702 -tt server-01.serverbox.space '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1526220489.76-280834157810405/apt.py && sleep 0'"'"''
<server-01.serverbox.space> (1, '\r\n{"msg": "No package matching \'python3-pip\' is available", "failed": true, "exception": "  File \\"/tmp/ansible_JsN9Pb/ansible_module_apt.py\\", line 326, in package_status\\n    pkg = cache[pkgname]\\n  File \\"/usr/lib/python2.7/dist-packages/apt/cache.py\\", line 200, in __getitem__\\n    raise KeyError(\'The cache has no package named %r\' % key)\\n", "invocation": {"module_args": {"dpkg_options": "force-confdef,force-confold", "upgrade": null, "force": false, "force_apt_get": false, "install_recommends": false, "package": ["python3", "python3-apt", "python", "python-apt", "python3-httplib2", "python3-pip", "python3-setuptools", "python3-pycurl", "python3-virtualenv", "python3-wheel", "virtualenv", "python-httplib2", "python-pip", "python-setuptools", "python-pycurl", "python-virtualenv", "python-wheel"], "autoclean": false, "name": ["python3", "python3-apt", "python", "python-apt", "python3-httplib2", "python3-pip", "python3-setuptools", "python3-pycurl", "python3-virtualenv", "python3-wheel", "virtualenv", "python-httplib2", "python-pip", "python-setuptools", "python-pycurl", "python-virtualenv", "python-wheel"], "purge": false, "allow_unauthenticated": false, "state": "present", "autoremove": false, "update_cache": null, "default_release": null, "only_upgrade": false, "deb": null, "cache_valid_time": 0}}}\r\n', 'Shared connection to server-01.serverbox.space closed.\r\n')
<server-01.serverbox.space> ESTABLISH SSH CONNECTION FOR USER: root
<server-01.serverbox.space> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 -o ControlPath=/Users/christianmagill/.ansible/cp/b16a94b702 server-01.serverbox.space '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1526220489.76-280834157810405/ > /dev/null 2>&1 && sleep 0'"'"''
<server-01.serverbox.space> (0, '', '')
The full traceback is:
  File "/tmp/ansible_JsN9Pb/ansible_module_apt.py", line 326, in package_status
    pkg = cache[pkgname]
  File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 200, in __getitem__
    raise KeyError('The cache has no package named %r' % key)

failed: [server-01.serverbox.space] (item=[u'python3', u'python3-apt', u'python', u'python-apt', u'python3-httplib2', u'python3-pip', u'python3-setuptools', u'python3-pycurl', u'python3-virtualenv', u'python3-wheel', u'virtualenv', u'python-httplib2', u'python-pip', u'python-setuptools', u'python-pycurl', u'python-virtualenv', u'python-wheel']) => {
    "changed": false,
    "invocation": {
        "module_args": {
            "allow_unauthenticated": false,
            "autoclean": false,
            "autoremove": false,
            "cache_valid_time": 0,
            "deb": null,
            "default_release": null,
            "dpkg_options": "force-confdef,force-confold",
            "force": false,
            "force_apt_get": false,
            "install_recommends": false,
            "name": [
                "python3",
                "python3-apt",
                "python",
                "python-apt",
                "python3-httplib2",
                "python3-pip",
                "python3-setuptools",
                "python3-pycurl",
                "python3-virtualenv",
                "python3-wheel",
                "virtualenv",
                "python-httplib2",
                "python-pip",
                "python-setuptools",
                "python-pycurl",
                "python-virtualenv",
                "python-wheel"
            ],
            "only_upgrade": false,
            "package": [
                "python3",
                "python3-apt",
                "python",
                "python-apt",
                "python3-httplib2",
                "python3-pip",
                "python3-setuptools",
                "python3-pycurl",
                "python3-virtualenv",
                "python3-wheel",
                "virtualenv",
                "python-httplib2",
                "python-pip",
                "python-setuptools",
                "python-pycurl",
                "python-virtualenv",
                "python-wheel"
            ],
            "purge": false,
            "state": "present",
            "update_cache": null,
            "upgrade": null
        }
    },
    "item": [
        "python3",
        "python3-apt",
        "python",
        "python-apt",
        "python3-httplib2",
        "python3-pip",
        "python3-setuptools",
        "python3-pycurl",
        "python3-virtualenv",
        "python3-wheel",
        "virtualenv",
        "python-httplib2",
        "python-pip",
        "python-setuptools",
        "python-pycurl",
        "python-virtualenv",
        "python-wheel"
    ],
    "msg": "No package matching 'python3-pip' is available"
}
 [WARNING]: Could not create retry file '/Users/christianmagill/Library/Application Support/debops/debops/ansible/playbooks/bootstrap.retry'.         [Errno 13] Permission denied:
u'/Users/christianmagill/Library/Application Support/debops/debops/ansible/playbooks/bootstrap.retry'

PLAY RECAP *********************************************************************************************************************************************************************************
server-01.serverbox.space  : ok=2    changed=0    unreachable=0    failed=1

Gathering Facts --------------------------------------------------------- 2.31s
Install requested APT packages ------------------------------------------ 1.78s
Update APT repositories, install core Python packages ------------------- 1.02s
FAIL: 2
carlalexander commented 6 years ago

Did you edit the hosts file and add your server under [debops_all_hosts] and [wordpress]?

christianmagill commented 6 years ago

Yes, Here's what that looks like...

# This is an Ansible inventory file in INI format. You can define a list of
# hosts and groups to be managed by this particular inventory.

# Hosts listed under [debops_all_hosts] will have common DebOps plays
# ran against them. It will include services such as iptables, DNS, Postfix,
# sshd configuration and more.
#
# View the list here:
# https://github.com/debops/debops-playbooks/blob/master/playbooks/common.yml

[debops_all_hosts]
server-01.serverbox.space

[wordpress]
server-01.serverbox.space
carlalexander commented 6 years ago

Ok, my bad. I should have seen it was ok. Let me try tonight and see.

christianmagill commented 6 years ago

Thanks, I appreciate it!

carlalexander commented 6 years ago

Ok, it works for me:

debops bootstrap -u root --limit dev.carlalexander.ca 
Running Ansible playbook from:
/usr/local/share/debops/debops-playbooks/playbooks/bootstrap.yml ...
[DEPRECATION WARNING]: ANSIBLE_HOSTS option, The variable is misleading as it can be a list of hosts and/or paths to inventory sources , use ANSIBLE_INVENTORY instead. This
feature will be removed in version 2.8. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
 [WARNING]: Could not match supplied host pattern, ignoring: debops_service_bootstrap

PLAY [Bootstrap Python support on a host] ****************************************************************************************************************************************

TASK [debops.bootstrap/raw : Update APT repositories, install mandatory packages] ************************************************************************************************
The authenticity of host 'dev.carlalexander.ca (206.189.234.229)' can't be established.
ECDSA key fingerprint is SHA256:6B/B3E28uH9037z/QFUi2yjWh+rbe+rfS0uuBaEckuU.
Are you sure you want to continue connecting (yes/no)? yes
changed: [dev.carlalexander.ca]

PLAY [Bootstrap host for Ansible management] *************************************************************************************************************************************

TASK [Gathering Facts] ***********************************************************************************************************************************************************
ok: [dev.carlalexander.ca]

TASK [debops.bootstrap : Make sure essential software is installed] **************************************************************************************************************
ok: [dev.carlalexander.ca] => (item=python)
ok: [dev.carlalexander.ca] => (item=python-apt)
changed: [dev.carlalexander.ca] => (item=python-pip)
ok: [dev.carlalexander.ca] => (item=sudo)
ok: [dev.carlalexander.ca] => (item=lsb-release)
ok: [dev.carlalexander.ca] => (item=dbus)

TASK [debops.bootstrap : Install custom Ansible local facts] *********************************************************************************************************************
changed: [dev.carlalexander.ca]

TASK [debops.bootstrap : Gather host facts] **************************************************************************************************************************************
ok: [dev.carlalexander.ca]

TASK [debops.bootstrap : Gather information about existing users] ****************************************************************************************************************
ok: [dev.carlalexander.ca]

TASK [debops.bootstrap : Gather information about existing home directories] *****************************************************************************************************
ok: [dev.carlalexander.ca] => (item=/var/localcarlalexander)

TASK [debops.bootstrap : Create required system groups] **************************************************************************************************************************
changed: [dev.carlalexander.ca] => (item=admins)
ok: [dev.carlalexander.ca] => (item=staff)
ok: [dev.carlalexander.ca] => (item=adm)
ok: [dev.carlalexander.ca] => (item=sudo)

TASK [debops.bootstrap : Create admin accounts] **********************************************************************************************************************************
changed: [dev.carlalexander.ca] => (item={u'name': u'carlalexander'})

TASK [debops.bootstrap : Set admin home directory group and permissions] *********************************************************************************************************
changed: [dev.carlalexander.ca] => (item=[{u'name': u'carlalexander'}, {'_ansible_parsed': True, u'stat': {u'exists': False}, '_ansible_item_result': True, '_ansible_no_log': False, 'failed': False, u'changed': False, 'item': u'/var/localcarlalexander', u'invocation': {u'module_args': {u'checksum_algorithm': u'sha1', u'get_checksum': True, u'follow': False, u'path': u'/var/localcarlalexander', u'get_md5': None, u'get_mime': True, u'get_attributes': True}}, '_ansible_ignore_errors': None}])

TASK [debops.bootstrap : Install ssh public key on admin accounts] ***************************************************************************************************************
changed: [dev.carlalexander.ca] => (item={'name': u'root'})
changed: [dev.carlalexander.ca] => (item={u'name': u'carlalexander'})

TASK [debops.bootstrap : Configure system group with passwordless access in sudo] ************************************************************************************************
changed: [dev.carlalexander.ca] => (item={u'regexp': u'^Defaults: %admins !?requiretty', u'line': u'Defaults: %admins !requiretty'})
changed: [dev.carlalexander.ca] => (item={u'regexp': u'^Defaults: %admins env_check\\s', u'line': u'Defaults: %admins env_check += "SSH_CLIENT"'})
changed: [dev.carlalexander.ca] => (item={u'regexp': u'^%admins\\s', u'line': u'%admins ALL = (ALL:ALL) NOPASSWD: SETENV: ALL'})

TASK [debops.bootstrap : Ensure /etc/sudoers includes /etc/sudoers.d] ************************************************************************************************************
ok: [dev.carlalexander.ca]

TASK [debops.bootstrap : Enforce new hostname] ***********************************************************************************************************************************
skipping: [dev.carlalexander.ca]

TASK [debops.bootstrap : Save hostname in /etc/hostname] *************************************************************************************************************************
skipping: [dev.carlalexander.ca]

TASK [debops.bootstrap : Save hostname and domain in /etc/hosts] *****************************************************************************************************************
changed: [dev.carlalexander.ca] => (item={u'insertafter': u'^127\\.0\\.0\\.1', u'ip_address': u'127.0.1.1', u'type': u'inet4'})
skipping: [dev.carlalexander.ca] => (item={u'ip_address': u'0::1', u'type': u'inet6', u'insertbefore': u'^::1'})

PLAY RECAP ***********************************************************************************************************************************************************************
dev.carlalexander.ca       : ok=14   changed=9    unreachable=0    failed=0

Make sure essential software is installed ------------------------------ 65.78s
Update APT repositories, install mandatory packages -------------------- 53.45s
Install custom Ansible local facts -------------------------------------- 7.48s
Create required system groups ------------------------------------------- 7.16s
Configure system group with passwordless access in sudo ----------------- 5.38s
Install ssh public key on admin accounts -------------------------------- 3.78s
Gathering Facts --------------------------------------------------------- 3.65s
Gather host facts ------------------------------------------------------- 2.87s
Create admin accounts --------------------------------------------------- 1.98s
Set admin home directory group and permissions -------------------------- 1.90s

Here's the version details:

ansible-playbook --version
ansible-playbook 2.5.2
  config file = /Users/carlalexander/Projects/carlalexander/debops/ansible.cfg
  configured module search path = [u'/Users/carlalexander/Projects/carlalexander/debops/ansible/library', u'/usr/local/share/debops/debops-playbooks/playbooks/library', u'/usr/share/ansible/library']
  ansible python module location = /usr/local/lib/python2.7/site-packages/ansible
  executable location = /usr/local/bin/ansible-playbook
  python version = 2.7.13 (default, Dec 18 2016, 07:03:39) [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.42.1)]
carlalexander commented 6 years ago

The only thing I'm not sure from your original post is the Ubuntu version. Is it the default one?

christianmagill commented 6 years ago

Yes, it is the default version 16.04.4 x64

carlalexander commented 6 years ago

Did you install all this yesterday? Is DebOps up to date?

christianmagill commented 6 years ago

Yes, day before yesterday v0.4.2. Maybe there's an issue with the .space domain extension?

carlalexander commented 6 years ago

How did you install it? Is it the mono repo?

christianmagill commented 6 years ago

I followed the installation instructions in the wiki.

carlalexander commented 6 years ago

Does pip install debops install the mono repo now @drybjed? I have an issue to support it. It's possible the project is broken with it right now.

christianmagill commented 6 years ago

I tried rerunning the debops bootstrap -u root -vvv command again and I think it's working:

PLAY RECAP ***** server-01.serverbox.space : ok=29 changed=13 unreachable=0 failed=0

Install requested APT packages ----------------------------------------- 10.54s Ensure that requested UNIX system groups exist -------------------------- 8.92s Remove tmpfiles configuration if not specified -------------------------- 8.75s Remove sudo configuration if not specified ------------------------------ 7.32s Make sure essential software is installed ------------------------------- 3.60s Install ssh public key on admin accounts -------------------------------- 3.48s Save Python local facts ------------------------------------------------- 3.43s Save system groups local facts ------------------------------------------ 3.32s Configure sudo for UNIX system groups ----------------------------------- 3.28s Install custom Ansible local facts -------------------------------------- 3.23s

carlalexander commented 6 years ago

Did you get it to work @christianmagill?

christianmagill commented 6 years ago

Yes thanks! To be honest I’m not sure what the difference was, I ran the same command. As far as the mono repo, is there anything I should be doing to install that? Any particular benefits?

drybjed commented 6 years ago

@carlalexander The pip install debops now installs the scripts as well as a snapshot of the Ansible roles/playbooks from the monorepo at a particular release (ie. v0.7.2 is currently latest). You should be able to use the "snapshot" of DebOps right away, or you can run debops-update to get the latest changes in the monorepo from GitHub.

carlalexander commented 6 years ago

I need to sort through all that soon. Glad this working now though. Closing 😄