Skip to content

Commit

Permalink
Drop permission management attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
teddyphreak committed Oct 3, 2023
1 parent cbe1693 commit 3666188
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
1 change: 1 addition & 0 deletions .ansible-lint-ignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ molecule/default/verify.yml no-changed-when
molecule/default/verify.yml risky-file-permissions
molecule/default/verify.yml run-once[task]
requirements.yml schema[requirements]
tasks/main.yml risky-file-permissions
7 changes: 0 additions & 7 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,11 @@
ansible.builtin.file:
state: directory
path: "{{ ubuntu_installer_target_dir }}"
mode: 0750

- name: Fetch source ISO
ansible.builtin.get_url:
url: "{{ ubuntu_installer_image_url }}"
dest: "{{ ubuntu_installer_iso_path }}"
mode: 0644

- name: Extract ISO contents
ansible.builtin.command: "7z -y x {{ ubuntu_installer_iso_path }} -o{{ tmpdir_dest.path }}"
Expand All @@ -35,7 +33,6 @@
ansible.builtin.file:
dest: "{{ tmpdir_dest.path }}{{ ubuntu_installer_cloudinit }}"
state: directory
mode: 0750

- name: Set interface prefix
ansible.builtin.set_fact:
Expand All @@ -48,7 +45,6 @@
ansible.builtin.template:
src: "user-data.j2"
dest: "{{ tmpdir_dest.path }}{{ ubuntu_installer_cloudinit }}/user-data"
mode: 0644
vars:
_ssh_user: "{{ ubuntu_installer_username }}"
_ssh_pass: "{{ ubuntu_installer_password }}"
Expand All @@ -68,7 +64,6 @@
ansible.builtin.file:
dest: "{{ tmpdir_dest.path }}{{ ubuntu_installer_cloudinit }}/meta-data"
state: touch
mode: 0644

- name: Detect isolinux bootloader
ansible.builtin.stat:
Expand All @@ -91,7 +86,6 @@
}
grub_platform
mode: 0644
vars:
nocloud_dir: "{{ ubuntu_installer_cloudinit }}"

Expand All @@ -108,7 +102,6 @@
ansible.builtin.template:
src: isolinux.live.j2
dest: "{{ tmpdir_dest.path }}/isolinux/txt.cfg"
mode: 0644
vars:
kernel_file: /casper/vmlinuz
initrd_file: /casper/initrd
Expand Down

0 comments on commit 3666188

Please sign in to comment.