diff options
author | 2020-04-30 13:19:59 +0000 | |
---|---|---|
committer | 2020-05-06 15:19:35 +0000 | |
commit | b1305d5da6b8cc86e365a8b6d3969f8279fd1367 (patch) | |
tree | 1b559f7c03444a4a2b9b896d1a89b78f6d01f75c /resources/tools/testbed-setup/ansible/roles/cobbler/tasks/ubuntu-18.04.2-server-x86_64.yaml | |
parent | 79f5ba9bf7656972dd988508eff9465562dde42c (diff) |
Ansible: Remove cobbler
Signed-off-by: Peter Mikus <pmikus@cisco.com>
Change-Id: I34446125071ee7157e1c0e29027a6d973ee03c7e
Diffstat (limited to 'resources/tools/testbed-setup/ansible/roles/cobbler/tasks/ubuntu-18.04.2-server-x86_64.yaml')
-rw-r--r-- | resources/tools/testbed-setup/ansible/roles/cobbler/tasks/ubuntu-18.04.2-server-x86_64.yaml | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/resources/tools/testbed-setup/ansible/roles/cobbler/tasks/ubuntu-18.04.2-server-x86_64.yaml b/resources/tools/testbed-setup/ansible/roles/cobbler/tasks/ubuntu-18.04.2-server-x86_64.yaml deleted file mode 100644 index f6f1ac0f7a..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/cobbler/tasks/ubuntu-18.04.2-server-x86_64.yaml +++ /dev/null @@ -1,39 +0,0 @@ ---- -# file: roles/cobbler/tasks/ubuntu-18.04.2-server-x86_64.yaml - -- name: Download Ubuntu 18.04.2 Server x86_64 with check (sha256) - get_url: - url: 'http://cdimage.ubuntu.com/ubuntu/releases/18.04/release/ubuntu-18.04.2-server-amd64.iso' - dest: '/mnt/ubuntu-18.04.2-server-amd64.iso' - checksum: 'sha256:a2cb36dc010d98ad9253ea5ad5a07fd6b409e3412c48f1860536970b073c98f5' - register: __iso_downloaded - tags: - - cobbler-import-image - -- name: Create directory for Ubuntu 18.04.2 Server x86_64 mount - file: - path: '/mnt/ubuntu-18.04.2-server-x86_64' - state: 'directory' - register: __mount_directory_created - tags: - - cobbler-import-image - -- name: Mount Ubuntu 18.04.2 Server x86_64 iso - mount: - src: '/mnt/ubuntu-18.04.2-server-amd64.iso' - path: '/mnt/ubuntu-18.04.2-server-x86_64' - fstype: 'iso9660' - opts: 'ro,loop' - state: mounted - when: __iso_downloaded and __mount_directory_created - tags: - - cobbler-import-image - -- name: Run cobbler distro import for Ubuntu 18.04.2 Server x86_64 - command: | - docker exec -i cobbler cobbler import - --path=/mnt/ubuntu-18.04.2-server-x86_64 - --name=ubuntu-18.04.2-server-x86_64 - --kickstart=/var/lib/cobbler/kickstarts/ubuntu-18.04.2-server-x86_64.seed - tags: - - cobbler-import-image |