Skip to content

Instantly share code, notes, and snippets.

- hosts: localhost
connection: local
tasks:
- name: Create a started container
lxd_container:
name: web
state: started
source:
type: image
mode: pull
root@ip-172-31-25-166:/etc/ansible/playbooks# ansible-playbook test.cfg
[WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all'
PLAY [localhost] **********************************************************************************************************************************************************************************************
TASK [Gathering Facts] ****************************************************************************************************************************************************************************************
ok: [localhost]
TASK [Create a started container] *****************************************************************************************************************************************************************************
- hosts: localhost
connection: local
tasks:
- name: Create a started container
lxd_container:
name: web
state: started
source:
type: image
mode: pull
Welcome to Ubuntu 18.04.1 LTS (GNU/Linux 4.15.0-1020-aws x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
System information as of Thu Aug 30 08:00:54 UTC 2018
System load: 0.0 Processes: 109
Usage of /: 3.1% of 96.88GB Users logged in: 0
[monotoko@monotoko-pc Downloads]$ gpg --recv-keys 474E22316ABF4785A88C6E8EA2C794A986419D8A
gpg: keyserver receive failed: General error
/usr/bin/mandb: zcat < /usr/share/man/man5/deb-buildinfo.5.gz: Bad system call (core dumped)
/usr/bin/mandb: zcat: Bad system call (core dumped)
/usr/bin/mandb: zcat < /usr/share/man/man5/deb-buildinfo.5.gz: Bad system call (core dumped)
/usr/bin/mandb: /usr/lib/man-db/manconv -f UTF-8:ISO-8859-1 -t UTF-8//IGNORE -q: Bad system call (core dumped)
/usr/bin/mandb: zcat < /usr/share/man/man5/deb-changelog.5.gz: Bad system call (core dumped)
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS=@im=fcitx
fcitx -d -r
# System Info:
1. `uname -a`:
Linux dlaptop 4.18.0-1-MANJARO #1 SMP PREEMPT Mon Jul 16 06:26:07 UTC 2018 x86_64 GNU/Linux
2. `lsb_release -a`:
LSB Version: n/a
Distributor ID: ManjaroLinux
Description: Manjaro Linux
Searching for terminado
Reading https://pypi.python.org/simple/terminado/
Best match: terminado 0.8.1
Downloading https://files.pythonhosted.org/packages/67/84/ce0ebd0f60e1cbe040f8e065eef7063855d59d9cf5e6438b3f8439fc7e15/terminado-0.8.1.tar.gz#sha256=55abf9ade563b8f9be1f34e4233c7b7bde726059947a593322e8a553cc4c067a
Processing terminado-0.8.1.tar.gz
Writing /tmp/easy_install-kz_hozdu/terminado-0.8.1/setup.cfg
Running terminado-0.8.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-kz_hozdu/terminado-0.8.1/egg-dist-tmp-5xwou0_v
error: Setup script exited with error: can't copy 'terminado/tests': doesn't exist or not a regular file
ImageId='ami-a414b9ca',InstanceType='t2.medium',KeyName='dl-korea',SubnetId='subnet-519ac339',UserData=#!/bin/bash
apt update
apt install ansible
,MaxCount=1,MinCount=1