Skip to content

Instantly share code, notes, and snippets.

@metasikander
Created February 20, 2020 05:57
Show Gist options
  • Save metasikander/fd2ff2a5b9dcb1f986708dd5f3af1496 to your computer and use it in GitHub Desktop.
Save metasikander/fd2ff2a5b9dcb1f986708dd5f3af1496 to your computer and use it in GitHub Desktop.
Identity added: /tmp/awx_253_ur65d3pr/artifacts/253/ssh_key_data (/tmp/awx_253_ur65d3pr/artifacts/253/ssh_key_data)
SSH password:
BECOME password[defaults to SSH password]:
PLAY [Swapfile playbook] *******************************************************
TASK [Gathering Facts] *********************************************************
ok: [usff02]
TASK [create swapfile] *********************************************************
fatal: [usff02]: FAILED! => {"changed": true, "cmd": ["fallocate", "-l", "2G", "/swapfile"], "delta": "0:00:00.002270", "end": "2020-02-20 06:49:02.576780", "msg": "non-zero return code", "rc": 1, "start": "2020-02-20 06:49:02.574510", "stderr": "fallocate: cannot open /swapfile: Permission denied", "stderr_lines": ["fallocate: cannot open /swapfile: Permission denied"], "stdout": "", "stdout_lines": []}
PLAY RECAP *********************************************************************
usff02 : ok=1 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
PLAY [Swapfile playbook] ******************************************************************
TASK [Gathering Facts] ********************************************************************
ok: [usff02]
TASK [create swapfile] ********************************************************************
changed: [usff02]
TASK [swapfile access rights] *************************************************************
changed: [usff02]
TASK [mkswap] *****************************************************************************
changed: [usff02]
TASK [swapon] *****************************************************************************
changed: [usff02]
TASK [add to fstab] ***********************************************************************
changed: [usff02]
PLAY RECAP ********************************************************************************
usff02 : ok=6 changed=5 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment