Skip to content

Commit 9bccffe

Browse files
committed
Cs fixes
1 parent e161900 commit 9bccffe

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

tasks/main.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# tasks file
22
---
33
- name: install dependencies
4-
apt:
4+
ansible.builtin.apt:
55
name: "{{ gnu_parallel_dependencies }}"
66
state: "{{ apt_install_state | default('latest') }}"
77
update_cache: true
@@ -13,7 +13,7 @@
1313
- gnu-parallel-install-dependencies
1414

1515
- name: remove (distro version)
16-
apt:
16+
ansible.builtin.apt:
1717
name: parallel
1818
state: absent
1919
purge: true
@@ -25,7 +25,7 @@
2525
- gnu-parallel-remove-distro
2626

2727
- name: create (download) directory
28-
file:
28+
ansible.builtin.file:
2929
path: "{{ gnu_parallel_download_path }}"
3030
state: directory
3131
owner: root
@@ -38,7 +38,7 @@
3838
- gnu-parallel-install-download
3939

4040
- name: download (latest)
41-
get_url:
41+
ansible.builtin.get_url:
4242
url: "{{ gnu_parallel_download_url }}"
4343
dest: "{{ gnu_parallel_download_path }}/{{ gnu_parallel_download_url | basename }}"
4444
owner: root
@@ -52,7 +52,7 @@
5252
- gnu-parallel-install-download
5353

5454
- name: create (build) directory
55-
file:
55+
ansible.builtin.file:
5656
path: "{{ gnu_parallel_build_path }}"
5757
state: directory
5858
owner: root
@@ -65,7 +65,7 @@
6565
- gnu-parallel-install-build
6666

6767
- name: version check
68-
shell: >
68+
ansible.builtin.shell: >
6969
tar -jtf {{ gnu_parallel_download_path }}/{{ gnu_parallel_download_url | basename }} | head -n 1
7070
args:
7171
warn: false
@@ -78,7 +78,7 @@
7878
- gnu-parallel-install-build
7979

8080
- name: extract
81-
unarchive:
81+
ansible.builtin.unarchive:
8282
src: "{{ gnu_parallel_download_path }}/{{ gnu_parallel_download_url | basename }}"
8383
dest: "{{ gnu_parallel_build_path }}"
8484
creates: "{{ gnu_parallel_build_path }}/{{ _version_check.stdout }}"
@@ -93,23 +93,23 @@
9393
- block:
9494

9595
- name: configure
96-
command: >
96+
ansible.builtin.command: >
9797
./configure
9898
args:
9999
chdir: "{{ gnu_parallel_build_path }}/{{ _version_check.stdout }}"
100100
tags:
101101
- gnu-parallel-install-build-configure
102102

103103
- name: make
104-
command: >
104+
ansible.builtin.command: >
105105
make -j{{ ansible_processor_cores + 1 }}
106106
args:
107107
chdir: "{{ gnu_parallel_build_path }}/{{ _version_check.stdout }}"
108108
tags:
109109
- gnu-parallel-install-build-make
110110

111111
- name: make install
112-
command: >
112+
ansible.builtin.command: >
113113
make install
114114
args:
115115
chdir: "{{ gnu_parallel_build_path }}/{{ _version_check.stdout }}"
@@ -124,7 +124,7 @@
124124
- gnu-parallel-install-build
125125

126126
- name: silence citation notice
127-
copy:
127+
ansible.builtin.copy:
128128
src: root/.parallel
129129
dest: "{{ ansible_env.HOME }}/"
130130
owner: "{{ ansible_env.USER }}"
@@ -136,7 +136,7 @@
136136
- gnu-parallel-silence-citation-notice
137137

138138
- name: verify
139-
command: >
139+
ansible.builtin.command: >
140140
parallel --version
141141
changed_when: false
142142
tags:

0 commit comments

Comments
 (0)