Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [ustas@localhost sixth]$ sudo vagrant up --no-parallel
- Bringing machine 'dnsmaster' up with 'libvirt' provider...
- Bringing machine 'dnsclient' up with 'libvirt' provider...
- ==> dnsmaster: Creating image (snapshot of base box volume).
- ==> dnsmaster: Creating domain with the following settings...
- ==> dnsmaster: -- Name: sixth_dnsmaster
- ==> dnsmaster: -- Domain type: kvm
- ==> dnsmaster: -- Cpus: 1
- ==> dnsmaster: -- Feature: acpi
- ==> dnsmaster: -- Feature: apic
- ==> dnsmaster: -- Feature: pae
- ==> dnsmaster: -- Memory: 512M
- ==> dnsmaster: -- Management MAC:
- ==> dnsmaster: -- Loader:
- ==> dnsmaster: -- Base box: centos/7
- ==> dnsmaster: -- Storage pool: default
- ==> dnsmaster: -- Image: /var/lib/libvirt/images/sixth_dnsmaster.img (41G)
- ==> dnsmaster: -- Volume Cache: default
- ==> dnsmaster: -- Kernel:
- ==> dnsmaster: -- Initrd:
- ==> dnsmaster: -- Graphics Type: vnc
- ==> dnsmaster: -- Graphics Port: 5900
- ==> dnsmaster: -- Graphics IP: 127.0.0.1
- ==> dnsmaster: -- Graphics Password: Not defined
- ==> dnsmaster: -- Video Type: cirrus
- ==> dnsmaster: -- Video VRAM: 9216
- ==> dnsmaster: -- Sound Type:
- ==> dnsmaster: -- Keymap: en-us
- ==> dnsmaster: -- TPM Path:
- ==> dnsmaster: -- INPUT: type=mouse, bus=ps2
- ==> dnsmaster: Creating shared folders metadata...
- ==> dnsmaster: Starting domain.
- ==> dnsmaster: Waiting for domain to get an IP address...
- ==> dnsmaster: Waiting for SSH to become available...
- dnsmaster:
- dnsmaster: Vagrant insecure key detected. Vagrant will automatically replace
- dnsmaster: this with a newly generated keypair for better security.
- dnsmaster:
- dnsmaster: Inserting generated public key within guest...
- dnsmaster: Removing insecure key from the guest if it's present...
- dnsmaster: Key inserted! Disconnecting and reconnecting using new SSH key...
- ==> dnsmaster: Configuring and enabling network interfaces...
- dnsmaster: SSH address: 192.168.121.245:22
- dnsmaster: SSH username: vagrant
- dnsmaster: SSH auth method: private key
- ==> dnsmaster: Rsyncing folder: /trash/sixth/ => /vagrant
- ==> dnsmaster: Running provisioner: ansible...
- Vagrant has automatically selected the compatibility mode '2.0'
- according to the Ansible version installed (2.4.0.0).
- Alternatively, the compatibility mode can be specified in your Vagrantfile:
- https://www.vagrantup.com/docs/provisioning/ansible_common.html#compatibility_mode
- dnsmaster: Running ansible-playbook...
- [WARNING]: Found both group and host with same name: dnsmaster
- PLAY [localhost] ***************************************************************
- skipping: no hosts matched
- PLAY [dnsmaster] ***************************************************************
- TASK [Gathering Facts] *********************************************************
- ok: [dnsmaster]
- TASK [dns-master : Set hostname] ***********************************************
- changed: [dnsmaster]
- TASK [dns-master : Install NetworkManager-glib] ********************************
- changed: [dnsmaster]
- TASK [dns-master : Set static IP] **********************************************
- fatal: [dnsmaster]: FAILED! => {"changed": false, "failed": true, "module_stderr": "Shared connection to 192.168.121.245 closed.\r\n", "module_stdout": "Traceback (most recent call last):\r\n File \"/tmp/ansible_70KDSA/ansible_module_nmcli.py\", line 1190, in <module>\r\n main()\r\n File \"/tmp/ansible_70KDSA/ansible_module_nmcli.py\", line 1134, in main\r\n nmcli=Nmcli(module)\r\n File \"/tmp/ansible_70KDSA/ansible_module_nmcli.py\", line 559, in __init__\r\n self.dns4=' '.join(module.params['dns4'])\r\nTypeError\r\n", "msg": "MODULE FAILURE", "rc": 0}
- to retry, use: --limit @/trash/sixth/do-stuff.retry
- PLAY RECAP *********************************************************************
- dnsmaster : ok=3 changed=2 unreachable=0 failed=1
- Ansible failed to complete successfully. Any error output should be
- visible above. Please fix these errors and try again.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement