Hello,
Does anyone know what causes this error:
fatal: [localhost]: FAILED! => {
“changed”: true,
“cmd”: [
“dd”,
“if=/dev/zero”,
“of=/extraswap”,
“bs=1M”,
“count=1024”
],
“delta”: “0:00:09.019800”,
“end”: “2019-11-08 10:12:50.770673”,
“invocation”: {
“module_args”: {
“_raw_params”: “dd if=/dev/zero of=/extraswap bs=1M count=1024”,
“_uses_shell”: false,
“argv”: null,
“chdir”: null,
“creates”: null,
“executable”: null,
“removes”: null,
“stdin”: null,
“stdin_add_newline”: true,
“strip_empty_ends”: true,
“warn”: true
}
},
“msg”: “non-zero return code”,
“rc”: 1,
“start”: “2019-11-08 10:12:41.750873”,
“stderr”: “dd: error writing ‘/extraswap’: No space left on device\n876+0 re cords in\n875+0 records out\n918159360 bytes (918 MB, 876 MiB) copied, 9.00553 s , 102 MB/s”,
“stderr_lines”: [
“dd: error writing ‘/extraswap’: No space left on device”,
“876+0 records in”,
“875+0 records out”,
“918159360 bytes (918 MB, 876 MiB) copied, 9.00553 s, 102 MB/s”
],
“stdout”: “”,
“stdout_lines”: []
}
RUNNING HANDLER [mariadb : restart mysql] **************************************
task path: /tmp/.bench/playbooks/roles/mariadb/handlers/main.yml:2
PLAY RECAP *********************************************************************
localhost : ok=30 changed=20 unreachable=0 failed=1 s kipped=21 rescued=0 ignored=0
Traceback (most recent call last):
File “install.py”, line 413, in
install_bench(args)
File “install.py”, line 135, in install_bench
run_playbook(‘site.yml’, sudo=True, extra_vars=extra_vars)
File “install.py”, line 327, in run_playbook
success = subprocess.check_call(args, cwd=os.path.join(cwd, ‘playbooks’))
File “/usr/lib/python2.7/subprocess.py”, line 190, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command ‘[‘ansible-playbook’, ‘-c’, ‘local’, ‘sit e.yml’, ‘-vvvv’, ‘-e’, ‘@/tmp/extra_vars.json’, ‘–become’, ‘–become-user=frapp e’]’ returned non-zero exit status 2