Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
13
Merge Requests
13
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
slapos.package
Commits
96f9d021
Commit
96f9d021
authored
Mar 13, 2018
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playbook: Use copy module instead of shell+echo
It is ansible standard and allows to set file mode.
parent
8d126cdb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
playbook/roles/standalone-shared/tasks/main.yml
playbook/roles/standalone-shared/tasks/main.yml
+1
-1
No files found.
playbook/roles/standalone-shared/tasks/main.yml
View file @
96f9d021
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
include_vars
:
erp5-common.yml
include_vars
:
erp5-common.yml
-
name
:
Store public IPv4 for other scripts
-
name
:
Store public IPv4 for other scripts
shell
:
echo "{{ ansible_default_ipv4.address }}" > /tmp/playbook-public-ipv
4
copy
:
content="{{ ansible_default_ipv4.address }}" dest=/tmp/playbook-public-ipv4 mode=064
4
-
name
:
create instance request script
-
name
:
create instance request script
template
:
src={{ request_instance_template }} dest=/tmp/playbook-request-{{ playbook_name }} mode=0700
template
:
src={{ request_instance_template }} dest=/tmp/playbook-request-{{ playbook_name }} mode=0700
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment