[copr] trying to set hostname from hostbase
This commit is contained in:
parent
8046f74f50
commit
7b10edf69d
1 changed files with 6 additions and 4 deletions
|
@ -7,10 +7,12 @@
|
|||
- include: "{{ tasks }}/iptables.yml"
|
||||
- include: "{{ tasks }}/postfix_basic.yml"
|
||||
|
||||
- name: setup correct hostname for copr machine
|
||||
hostname: name="{{ hostbase|regex_replace('.*-$', '')}}.cloud.fedoraproject.org"
|
||||
tags:
|
||||
- config
|
||||
#- name: setup correct hostname for copr machine
|
||||
# hostname: name="{{ hostbase|regex_replace('.*-$', '')}}.cloud.fedoraproject.org"
|
||||
# tags:
|
||||
# - config
|
||||
|
||||
- debug: "{{ hostbase|regex_replace('.*-$', '')}}.cloud.fedoraproject.org"
|
||||
|
||||
- name: copy .forward file
|
||||
copy: src="{{ _forward_src }}" dest="/root/.forward" owner=root group=root
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue