domains not created
See original GitHub issueWhen I try to run this playbook on Ubuntu 16.04 the domain is not created.
Playbook.yml
---
- hosts: all
roles:
- dokku_bot.ansible_dokku
vars:
ansible_user: root
ansible_python_interpreter: /usr/bin/python3
dokku_version: '0.15.2'
dokku_skip_key_file: true
become: yes
pre_tasks:
- name: Update apt cache if needed
apt: update_cache=yes cache_valid_time=3600
tasks:
- name: Create a dokku app
dokku_app:
app: hello-world
- name: domains:add hello-world dokku.me
dokku_domains:
app: hello-world
domains:
- dokku.me
Error Message is:
fatal: [me]:
FAILED! => {"changed": false, "meta":
{"error": "Command 'dokku --quiet domains hello-world' returned non-zero exit status 1", "present": false},
"msg": "Command 'dokku --quiet domains hello-world' returned non-zero exit status 1"}
Running Dokku query command on the server after the playbook has finished
root@me:~# dokku apps:list
=====> My Apps
hello-world
root@me:~# dokku domains:report
=====> hello-world domains information
Domains app enabled: true
Domains app vhosts:
Domains global enabled: true
Domains global vhosts: dokku.me
Running Dokku commands on the server does create the domain
root@me:~# dokku domains:add hello-world dokku.me
-----> Added dokku.me to hello-world
! No web listeners specified for hello-world
root@me:~# dokku domains:report
=====> hello-world domains information
Domains app enabled: true
Domains app vhosts: dokku.me
Domains global enabled: true
Domains global vhosts: dokku.me
Issue Analytics
- State:
- Created 4 years ago
- Comments:11 (11 by maintainers)
Top Results From Across the Web
Why is my domain not showing up yet? - Media Temple
Overview. There can be several reasons as to why your website is not yet displaying. This article is a technical introduction to DNS...
Read more >How to Get a Free Domain Name: 4 Legit Ways in 2022
Purchasing a domain name is a must if you want a website or business email, and it's affordable, at only around $10–$15 per...
Read more >Multi-Domain Confusion: All Domains Are Not Created Equal
As described in an essay by Frank Hoffman and Michael Davies, domains “create a frame of reference that defines the preparation and conduct...
Read more >Coded Value Domains are not created for Select_One
Solved: It seems that when I publish my form Coded Value Domains are created for Select_One type input, except when it is cascaded...
Read more >How to Register Your Website's Domain Name (For Free)
1. Find a domain name registrar. The non-profit Internet Corporation for Assigned Names and Numbers (ICANN) oversees the entire system of domain ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Okay so the underlying Dokku code should be fixed in 0.15.4, so I’ll make the changes to this and hopefully you can verify it works for you?
Dokku Version ‘0.15.4’ creates domains as expected. Thanks!